Advertisement
Zurbin

BRD Skill Up

Jun 1st, 2014
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.00 KB | None | 0 0
  1. function get_sets()
  2.  
  3.     SkillUp = 'OFF'
  4.    
  5.     sets.precast= {}
  6.    
  7.         sets.precast.FC =   {main="Felibre's Dague",
  8.                             head="Aoidos' Calot +2",neck="Orunmila's Torque",ear1="Loquac. Earring",ear2="Aoidos' Earring",
  9.                             body="Anhur Robe",hands="Gendewitha Gages",ring1="Prolix Ring",
  10.                             back="Swith Cape",waist="Witful Belt",legs="Orvail Pants +1",feet="Chelona Boots"}
  11.        
  12.     sets.midcast = {}
  13.        
  14.         sets.midcast.Skill = {body="Temachtiani Shirt",hands="Temachtiani Gloves"}
  15.  
  16. end
  17.  
  18. function precast(spell)
  19.  
  20.     equip(sets.precast.FC)
  21.  
  22. end
  23.  
  24. function midcast(spell)
  25.  
  26.     if SkillUp == 'ON' then
  27.         equip(sets.midcast.Skill)
  28.     end
  29.  
  30. end
  31.  
  32. function aftercast(spell)
  33.  
  34.     if SkillUp == 'ON' then
  35.         if spell.english == 'Fire Threnody' then
  36.             if not buffactive['food'] then
  37.                 send_command('@wait 3;input /item "B.E.W. Pitaru" <me>;wait 5; input /ma "Ice Threnody" <t>')
  38.             else
  39.                 send_command('@wait 3;input /ma "Ice Threnody" <t>')
  40.             end
  41.         elseif spell.english == 'Ice Threnody' then
  42.             send_command('@wait 3;input /ma "Wind Threnody" <t>')
  43.         elseif spell.english == 'Wind Threnody' then
  44.             send_command('@wait 3;input /ma "Earth Threnody" <t>')
  45.         elseif spell.english == 'Earth Threnody' then
  46.             send_command('@wait 3;input /ma "Ltng. Threnody" <t>')
  47.         elseif spell.english == 'Ltng. Threnody' then
  48.             send_command('@wait 3;input /ma "Water Threnody" <t>')
  49.         elseif spell.english == 'Water Threnody' then
  50.             send_command('@wait 3;input /ma "Light Threnody" <t>')
  51.         elseif spell.english == 'Light Threnody' then
  52.             send_command('@wait 3;input /ma "Dark Threnody" <t>')
  53.         elseif spell.english == 'Dark Threnody' then
  54.             send_command('@wait 3;input /ma "Fire Threnody" <t>')
  55.         end
  56.     end
  57.        
  58.  
  59. end
  60.  
  61. function self_command(command)
  62.  
  63.     if command == 'Skill' then
  64.         if SkillUp == 'OFF' then
  65.             SkillUp = 'ON'
  66.             add_to_chat(158,'Skill Mode: ['..SkillUp..']')
  67.             send_command('@input /ma "Fire Threnody" <t>')
  68.         else
  69.             SkillUp = 'OFF'
  70.             add_to_chat(158,'Skill Mode: ['..SkillUp..']') 
  71.         end
  72.     end
  73.  
  74. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement