Code:
include('organizer-lib')
mote_include_version = 2
function get_sets()
sets.precast = {}
sets.precast.Ret = {feet="Boii Calligae"}
sets.precast.BR = {body="Pummeler's Lorica"}
sets.precast.RR = {
head="Flamma Zucchetto",
feet="Flamma Gambieras",}
sets.precast.SC = {
head="Flamma Zucchetto",
body="Rav. Breastplate",
hands="Sulevia's Gauntlets",
legs="Sulevia's Cuisses",
feet="Flamma Gambieras",
neck="Warrior's Beads",
waist="Ioskeha Belt",
left_ear="Ravager's Earring",
right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
right_ring="Karieyh Ring",
back="Attacker's Mantle",}
sets.precast.UP = {
head="Flamma Zucchetto",
body="Rav. Breastplate",
hands="Sulevia's Gauntlets",
legs="Sulevia's Cuisses",
feet="Flamma Gambieras",
neck="Warrior's Beads",
waist="Ioskeha Belt",
left_ear="Ravager's Earring",
right_ear={ name="Moonshade Earring", augments={'Accuracy+4','TP Bonus +250',}},
right_ring="Karieyh Ring",}
sets.midcast = {}
sets.aftercast = {}
sets.aftercast.engaged = {
head="Gefechtschaller",
body="Rav. Breastplate",
ring1="Rajas Ring",
ring2="Karieyh Ring",
hands="Sulevia's Gauntlets",
head="Gefechtschaller",
back="Attacker's Mantle",
waist="Ioskeha Belt",
feet="Gor. Sollerets +1",
legs="Sulevia's Cuisses"}
sets.aftercast.idle = {
body="Rav. Breastplate",
ring1="Rajas Ring",
ring2="Karieyh Ring",
hands="Sulevia's Gauntlets",
head="Gefechtschaller",
back="Attacker's Mantle",
waist="Ioskeha Belt",
feet="Flamma Gambieras",
legs="Sulevia's Cuisses"}
sets.aftercast.rest = {head="Twilight Helm"}
end
function precast(weaponskill)
if weaponskill.english == "Raging Rush" then
equip(sets.precast.RR)
end
end
function precast(weaponskill)
if weaponskill.english == "Steel Cyclone" then
equip(sets.precast.SC)
end
end
function precast(weaponskill)
if weaponskill.english == "Upheaval" then
equip(sets.precast.UP)
end
end
function precast(spell)
if spell.english == "Berserk" then
equip(sets.precast.BR)
end
end
function precast(spell)
if spell.english == "Retaliation" then
equip(sets.precast.Ret)
end
end
function midcast(spell,action)
if spell.action_type == 'Magic' then
if spell.english:startswith('Utsusemi') then
if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)'] or buffactive['Copy Image (3)']) then -- Cancel Copy Image 1, 2 & 3 For Utsusemi: Ichi --
send_command('@wait 1.7;cancel Copy Image*')
end
end
end
function aftercast(weaponskill)
if player.status == "Engaged" then
equip(sets.aftercast.engaged)
elseif player.status == "Idle" then
equip(sets.aftercast.idle)
end
end
function status_change(new,old)
if new == 'Idle' then
equip(sets.aftercast.idle)
elseif new == 'Resting' then
equip(sets.aftercast.rest)
elseif new == 'Engaged' then
equip(sets.aftercast.engaged)
end
end
organizer_items={main="Home. Labrys",sub="Pole Grip",ring1="Warp Ring",ring1="Capacity Ring",neck="Warrior's Beads"}
end