Advertisement
Guest User

Blah

a guest
Jul 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.63 KB | None | 0 0
  1. -- ******************************************************************************************** --
  2. -- This file uses very minimal GearSwap rules and puts more of the user's focus on set creation.
  3. -- In order to create sets more easily, consider using //gs export
  4. -- "//gs export" will export your currently equipped gear (with augments) to a user file stored at
  5. -- /windower/addons/GearSwap/data/export/
  6. -- You can open that file up and just copy/paste the set as you like. If your augments change,
  7. -- you would need to replace them with the new augments, which is most easily accomplished by
  8. -- exporting again while wearing the piece.
  9. --
  10. -- The file is also compatible with the Organizer addon. In order to collect your gear, make sure
  11. -- the organizer addon is loaded and then use //gs org
  12. -- ******************************************************************************************** --
  13.  
  14. include('organizer-lib')
  15.  
  16. function get_sets()
  17.    
  18.    -- This set will be equipped when idle
  19.     sets.Idle = {
  20.         main="Bolelabunga",
  21.         sub="Genbu's Shield",
  22.         ammo="Incantor Stone",
  23.         head="Befouled Crown",
  24.         body="Gendewitha Bliaut +1",
  25.         hands="Serpentes Cuffs",
  26.         legs="Assiduity Pants +1",
  27.         feet="Serpentes Sabots",
  28.         waist="Channeler's Stone",
  29.         neck="Sanctity Necklace",
  30.         left_ear="Loquac. Earring",
  31.         right_ear="Nourishing Earring",
  32.         left_ring="Mephitas's Ring",
  33.         right_ring="Metamorph Ring",
  34.         back="Mecistopins Mantle",
  35.      }
  36.    
  37.    
  38.     -- This set will be equipped before magic is cast
  39.     sets.FastCast = {
  40.         main="Queller Rod",
  41.         sub="Sors Shield",
  42.         ammo="Incantor Stone",
  43.         head="Vanya Hood",
  44.         body="Inyanga Jubbah",
  45.         hands="Helios Gloves",
  46.         legs="Gyve Trousers",
  47.         feet="Hygieia Clogs",
  48.         waist="Witful Belt",
  49.         neck="Sanctity Necklace",
  50.         back="Swith Cape",
  51.         left_ear="Loquac. Earring",
  52.         right_ear="Calamitous Earring",
  53.         left_ring="Ephedra Ring",
  54.         right_ring="Sirona's Ring",
  55.     }
  56.    
  57.     -- This set will be equipped before healing magic is cast
  58.     sets.Cure = {
  59.         main="Queller Rod",
  60.         sub="Sors Shield",
  61.         ammo="Incantor Stone",
  62.         head="Vanya Hood",
  63.         body="Inyanga Jubbah",
  64.         hands="Telchine Gloves",
  65.         legs="Ebers Pantaloons +1",
  66.         feet="Hygieia Clogs",
  67.         waist="Channeler's Belt",
  68.         neck="Nuna Gorget",
  69.         back="Alaunus's Cape",
  70.         left_ear="Calamitous Earring",
  71.         right_ear="Nourishing Earring",
  72.         left_ring="Ephedra Ring",
  73.         right_ring="Sirona's Ring",
  74.     }
  75.    
  76.     -- This set will be equipped before Regen is cast
  77.     sets.Regen = {
  78.         main="Bolelabunga",
  79.         sub="Sors Shield",
  80.         ammo="Incantor Stone",
  81.         head="Inyanga Tiara +1",
  82.         body="Piety Bliaut",
  83.         hands="Telchine Gloves",
  84.         legs="Gyve Trousers",
  85.         feet="Hygieia Clogs",
  86.         waist="Channeler's Stone",
  87.         neck="Clotharius Torque",
  88.         back="Swith Cape",
  89.         left_ear="Calamitous Earring",
  90.         right_ear="Nourishing Earring",
  91.         left_ring="Ephedra Ring",
  92.         right_ring="Sirona's Ring",
  93.     }
  94. end
  95.  
  96.  
  97. function precast(spell)
  98.     if spell.prefix == '/magic' then
  99.         -- Magic precast
  100.         equip(sets.FastCast)
  101.     end
  102. end
  103.  
  104. function midcast(spell)
  105.     if string.find(spell.english,"Cure") or string.find(spell.english,"Cura") then
  106.         -- Magic Usage
  107.         equip(sets.Cure)
  108.     elseif spell.name:startswith("Regen") then
  109.         equip(sets.Regen)
  110.     end
  111. end
  112.  
  113. function aftercast(spell)
  114.     if player.status=='Idle' then
  115.         equip(sets.Idle)
  116.     end
  117. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement