Advertisement
Deadfaced_Dingle

Brd.lua

Sep 6th, 2020 (edited)
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.96 KB | None | 0 0
  1.     -- Tip: Anything following -- is what we call comments, they don't count as code so you can use that to help you remember stuff
  2.     -- or clarify your code.
  3. function get_sets()
  4.  
  5.     sets.idle = {}                  -- Leave this empty
  6.     sets.precast = {}               -- leave this empty    
  7.     sets.midcast = {}               -- leave this empty    
  8.     sets.aftercast = {}             -- leave this empty
  9.  
  10.            --Idle Sets--
  11.              sets.idle.normal = {
  12.                   main={ name="Kali", augments={'DMG:+15','CHR+15','Mag. Acc.+15',}},
  13.                   sub="Genmei Shield",
  14.                   range="Gjallarhorn",
  15.                   head="Aya. Zucchetto +2",
  16.                   body="Ayanmo Corazza +2",
  17.                   hands="Aya. Manopolas +2",
  18.                   legs="Aya. Cosciales +2",
  19.                   feet="Fili Cothurnes +1",
  20.                   neck="Loricate Torque +1",
  21.                   waist="Flume Belt",
  22.                   left_ear="Infused Earring",
  23.                   right_ear="Dawn Earring",
  24.                   left_ring={ name="Dark Ring", augments={'Magic dmg. taken -5%','Phys. dmg. taken -5%',}},
  25.                   right_ring={ name="Dark Ring", augments={'Spell interruption rate down -3%','Phys. dmg. taken -5%','Magic dmg. taken -5%',}},
  26.                   back="Solemnity Cape"}
  27.                  
  28.              sets.precast.fc = {
  29.                   range="Linos",
  30.                   head={ name="Vanya Hood", augments={'MP+50','"Fast Cast"+10','Haste+2%',}},
  31.                   body="Inyanga Jubbah +2",
  32.                   hands={ name="Leyline Gloves", augments={'Accuracy+14','Mag. Acc.+13','"Mag.Atk.Bns."+13','"Fast Cast"+2',}},
  33.                   legs="Aya. Cosciales +2",
  34.                   feet="Volte Gaiters",
  35.                   neck="Voltsurge Torque",
  36.                   waist="Witful Belt",
  37.                   left_ear="Loquac. Earring",
  38.                   right_ear="Enchntr. Earring +1",
  39.                   left_ring="Prolix Ring",
  40.                   right_ring="Kishar Ring",
  41.                   back={ name="Intarabus's Cape", augments={'CHR+10','Mag. Acc+20 /Mag. Dmg.+20','Mag. Acc.+4','"Fast Cast"+10',}}}
  42.  
  43.  
  44.              sets.midcast.enhancing = {
  45.                   range="Linos",
  46.                   head="Umuthi Hat",
  47.                   body={ name="Telchine Chas.", augments={'Evasion+15','"Conserve MP"+5','Enh. Mag. eff. dur. +10',}},
  48.                   hands="Inyanga Dastanas +2",
  49.                   legs="Shedir Seraweels",
  50.                   feet="Kaykaus Boots +1",
  51.                   neck="Incanter's Torue",
  52.                   waist="Olympus Sash",
  53.                   left_ear="Andoaa Earring",
  54.                   right_ear="Mimir Earring",
  55.                   left_ring="Stikini Ring +1",
  56.                   right_ring="Stikini Ring +1",
  57.                   back="Fi Follet Cape +1"}
  58.                  
  59.              sets.midcast.enhancingduration = {
  60.                   sub="Ammurapi Shield",
  61.                   head={ name="Telchine Cap", augments={'Evasion+18','"Conserve MP"+5','Enh. Mag. eff. dur. +10',}},
  62.                   body={ name="Telchine Chas.", augments={'Evasion+15','"Conserve MP"+5','Enh. Mag. eff. dur. +10',}},
  63.                   hands={ name="Telchine Gloves", augments={'Mag. Evasion+22','Potency of "Cure" effect received+7%','Enh. Mag. eff. dur. +10',}},
  64.                   legs={ name="Telchine Braconi", augments={'Evasion+20','Potency of "Cure" effect received+7%','Enh. Mag. eff. dur. +10',}},
  65.                   feet={ name="Telchine Pigaches", augments={'Evasion+18','Song spellcasting time -7%','Enh. Mag. eff. dur. +10',}}}
  66.              
  67.              sets.midcast.stoneskin = set_combine(set.midcast.enhancingduration, {
  68.                  neck="Nodens Gorget",
  69.                  left_ear="Earthcry Earring",
  70.                  waist="Siegel Sash",
  71.                  legs="Shedir Seraweels"})
  72.                  
  73.             sets.midcast.aquaveil = set_combine(set.midcast.enhancingduration, {
  74.                  head="Chironic Hat",
  75.                  waist="Emphatikos Rope",
  76.                  legs="Shedir Seraweels"})
  77.            
  78.             sets.midcast.refresh = set_combine(set.midcast.enhancingduration, {
  79.                  back="Grapevine Cape",
  80.                  waist="Gishdubar Sash"})
  81. end
  82.  
  83. function precast(spell)
  84.      equip(sets.precast.fc)
  85. end
  86.  
  87. function midcast(spell)
  88.          if spell.english == 'Stoneskin' then
  89.          equip(sets.midcast.stoneskin)
  90. end
  91.      if spell.english == 'Aquaveil' then
  92.          equip(sets.midcast.aquaveil)
  93. end
  94.      if spell.english == 'Refresh' or spell.english == 'Refresh II' then
  95.         equip(sets.midcast.refresh)
  96. end
  97.      if spell.english == 'Haste' or spell.english == 'Haste II' or spell.english == 'Flurry' or spell.english == 'Flurry II' or
  98.          spell.english == 'Deodorize' or spell.english == 'Invisible' or spell.englis == 'Sneak' or spell.englis == 'Blink' or
  99.          spell.english == 'Blaze Spikes' or spell.english == 'Ice Spikes' or spell.english == 'Shock Spikes' then
  100.          equip(sets.midcast.enhancingduration)
  101. end
  102. end
  103.  
  104. function aftercast(spell)
  105.      idle()
  106. end
  107.  
  108. function idle()
  109.      equip(sets.idle.normal)
  110. end
  111.  
  112. function status_change(new,old)
  113.  
  114. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement