Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
1,230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.50 KB | None | 0 0
  1. function get_sets()
  2.  
  3.     sets.idle = {}                  -- Leave this empty.
  4.     sets.precast = {}               -- leave this empty    
  5.     sets.midcast = {}               -- leave this empty    
  6.     sets.aftercast = {}             -- leave this empty
  7.  
  8.     sets.idle.normal = {
  9.         ammo        =   "Homiliary",
  10.         head        =   "Viti. Chapeau +3",
  11.         body        =   "Amalric Doublet +1",
  12.         hands       =   "Aya. Manopolas +2",
  13.         legs        =   "Carmine Cuisses +1",
  14.         feet        =   "Aya. Gambieras +2",
  15.         neck        =   "Twilight Torque",
  16.         waist       =   "Flume Belt",
  17.         left_ear    =   "Etiolation Earring",
  18.         right_ear   =   "Ethereal Earring",
  19.         left_ring   =   "Stikini Ring +1",
  20.         right_ring  =   "Defending Ring",
  21.         back        =   "Sucellos's Cape",
  22.     }
  23.  
  24.     -- Tip: Anything following -- is what we call comments, they don't count as code so you can use that to help you remember stuff
  25.     -- or clarify your code.
  26.  
  27.     -- Generic Casting Set that all others take off of. Here you should add all your fast cast RDM need 50 pre JP, 42 at master
  28.     -- FC caps at 80 (including Job Traits)
  29.     sets.precast.casting = {
  30.         head        =   "Carmine Mask +1",      --14
  31.         body        =   "Merlinic Jubbah",      --12
  32.         legs        =   "Aya. Cosciales +2",    --6
  33.         neck        =   "Voltsurge Torque",     --4
  34.         waist       =   "Witful Belt",          --3
  35.         left_ear    =   "Loquacious Earring",   --2
  36.         right_ear   =   "Malignance Earring",   --4
  37.         left_ring   =   "Kishar Ring",          --4
  38.         right_ring  =   "Weather. Ring",        --5
  39.     }
  40.     sets.midcast.cure = {
  41.         head        =   "Vanya Hood",
  42.         body        =   "Gende. Bilaut +1",
  43.         hands       =   "Telchine Gloves",
  44.         legs        =   "Chironic Hose",
  45.         feet        =   "Vitiation Boots +3",
  46.         neck        =   "Fylgja Torque +1",
  47.         waist       =   "Porous Rope",
  48.         left_ear    =   "Mendi. Earring",
  49.         right_ear   =   "Roundel Earring",
  50.         left_ring   =   "Stikini Ring +1",
  51.         right_ring  =   "Lebeche Ring",
  52.         back        =   "Ghostfyre Cape",
  53.         sub         =   "Enki Strap",
  54.     }
  55.  
  56. end
  57.  
  58. function precast(spell)
  59.     equip(sets.precast.casting)
  60. end
  61.  
  62. function midcast(spell)
  63.     if spell.name:match('Cure') or spell.name:match('Cura') then
  64.             equip(sets.midcast.cure)
  65.     else
  66.         -- do something for when I cast non whitemagic spell
  67.     end
  68. end
  69.  
  70. function aftercast(spell)
  71.     idle()
  72. end
  73.  
  74. function idle()
  75.     equip(sets.idle.normal)
  76. end
  77.  
  78. function status_change(new,old)
  79.  
  80. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement