Code:
------------------- Gear Sets ----------------------
function get_sets()
------------------- Engaged Sets ----------------------
sets.engaged = {}
sets.engaged.reward={
ammo="Pet Food Zeta",
head="Bison Warbonnet",
body="Bst. Jackcoat +1",
hands="Ogre Gloves",
legs={ name="Mst. Trousers +2", augments={'Enhances "Familiar" effect',}},
feet={ name="Mst. Gaiters +2", augments={'Enhances "Beast Healer" effect',}},
neck="Promise Badge",
waist="Crudelis Belt",
right_ear="Celestial Earring",
left_ring="Solemn Ring",
}
sets.engaged.petcmd={
hands="Frn. Manoplas +2",
feet="Ferine Ocreae +2",
}
sets.engaged.tp={
main={ name="Astolfo", augments={'AGI+11','Pet: Evasion+22',}},
sub={ name="Astolfo", augments={'VIT+11','Pet: Phys. dmg. taken -11%',}},
head="Zelus Tiara",
body="Ferine Gausape +2",
hands="Brego Gloves",
legs="Calmecac Trousers",
feet="Phorcys Schuhs",
neck="Ferine Necklace",
waist="Twilight Belt",
left_ear="Brutal Earring",
right_ear="Suppanomimi",
left_ring="Keen Ring",
right_ring="Epona's Ring",
back="Atheling Mantle",
}
------------------- Idle Combat Sets ----------------------
sets.idle = {}
sets.idle.pettank={
main={ name="Astolfo", augments={'AGI+11','Pet: Evasion+22',}},
sub={ name="Astolfo", augments={'VIT+11','Pet: Phys. dmg. taken -11%',}},
head={ name="Anwig Salade", augments={'Attack+3','Pet: Damage taken -10%','Attack+3','Pet: "Regen"+1',}},
body="Ferine Gausape +2",
hands="Frn. Manoplas +2",
legs="Ferine Quijotes +2",
feet="Ferine Ocreae +2",
neck="Ferine Necklace",
waist="Primal Belt",
left_ear="Ferine Earring",
right_ear="Ethereal Earring",
back="Oneiros Cappa",
}
sets.idle.reward={
main="Zoraal Ja's Axe",
sub="Zoraal Ja's Axe",
ammo="Pet Food Zeta",
head="Bison Warbonnet",
body="Bst. Jackcoat +1",
hands="Ogre Gloves",
legs={ name="Mst. Trousers +2", augments={'Enhances "Familiar" effect',}},
feet={ name="Mst. Gaiters +2", augments={'Enhances "Beast Healer" effect',}},
neck="Promise Badge",
waist="Crudelis Belt",
right_ear="Celestial Earring",
left_ring="Solemn Ring",
}
sets.idle.petcmd={
main="Charmer's Merlin",
hands="Frn. Manoplas +2",
feet="Ferine Ocreae +2",
}
------------------- JA Sets ----------------------
sets.precast = {}
sets.precast.JA = {}
sets.precast.JA.call={
hands={ name="Mst. Gloves +2", augments={'Enhances "Beast Affinity" effect',}},
}
sets.precast.JA.charm={
head={ name="Mst. Helm +2", augments={'Enhances "Killer Instinct" effect',}},
body="Bst. Jackcoat +1",
hands={ name="Mst. Gloves +2", augments={'Enhances "Beast Affinity" effect',}},
legs="Bst. Trousers +1",
feet={ name="Mst. Gaiters +2", augments={'Enhances "Beast Healer" effect',}},
}
sets.precast.JA.waltz={
ammo="Light Sachet",
head="Ferine Cabasset +2",
body={ name="Kirin's Osode", augments={'Attack+4',}},
hands="Ample Gloves",
legs="Ferine Quijotes +2",
neck="Ferine Necklace",
waist="Aristo Belt",
left_ring="Dawnsoul Ring",
right_ring="Airy Ring",
back="Aisance Mantle",
}
------------------- Weaponskill Sets ----------------------
sets.precast.WS={
head="Nocturnus Helm",
body="Ferine Gausape +2",
hands="Frn. Manoplas +2",
legs="Ferine Quijotes +2",
feet="Alcide's Leggings",
neck="Ferine Necklace",
waist="Cuchulain's Belt",
left_ear="Ghillie Earring",
right_ear="Ghillie Earring",
left_ring="Keen Ring",
right_ring="Demonry Ring",
back="Atheling Mantle",
}
sets.precast.WS.Soil={
head="Nocturnus Helm",
body="Ferine Gausape +2",
hands="Frn. Manoplas +2",
legs="Ferine Quijotes +2",
feet="Alcide's Leggings",
neck="Soil Gorget",
waist="Soil Belt",
left_ear="Ghillie Earring",
right_ear="Ghillie Earring",
left_ring="Keen Ring",
right_ring="Demonry Ring",
back="Atheling Mantle",
}
sets.precast.WS.Aqua={
head="Nocturnus Helm",
body="Ferine Gausape +2",
hands="Frn. Manoplas +2",
legs="Ferine Quijotes +2",
feet="Alcide's Leggings",
neck="Aqua Gorget",
waist="Aqua Belt",
left_ear="Ghillie Earring",
right_ear="Ghillie Earring",
left_ring="Keen Ring",
right_ring="Demonry Ring",
back="Atheling Mantle",
}
------------------- Trigger Gear Sets ----------------------
gear = {}
gear.axe={
main={ name="Astolfo", augments={'AGI+11','Pet: Evasion+22',}},
sub={ name="Astolfo", augments={'VIT+11','Pet: Phys. dmg. taken -11%',}},
}
gear.H2H={
main="Afflictors",
}
gear.dagger={
main="Galkan Dagger",
sub="Pallas's Shield",
}
gear.club={
main="Rounsey Wand",
sub="Pallas's Shield",
}
gear.scythe={
main="Bounty Sickle",
sub="Danger Grip",
}
gear.staff={
main="Iridal Staff",
sub="Danger Grip",
}
end
------------------- Gear Swap Rules ----------------------
function precast(spell)
if spell.type == 'Waltz' then
equip(sets.precast.JA.waltz)
elseif spell.type == 'WeaponSkill' then
equip(sets.precast.WS)
elseif spell.name == 'Avalanche Axe' or spell.name == 'Calamity' or spell.name == 'Primal Rend' or spell.name == 'Rampage' or spell.name == 'Onslaught' or spell.name == 'Spinning Axe' then
equip(sets.precast.WS.Soil)
elseif spell.name == 'Decimation' or spell.name == 'Smash Axe' or spell.name == 'Ruinator' then
equip(sets.precast.WS.Aqua)
elseif spell.name == 'Call Beast' then
equip(sets.precast.JA.call)
elseif spell.name == 'Charm' then
equip(sets.precast.JA.charm)
elseif spell.type == 'PetCommand' and status == 'Engaged' then
equip(sets.engaged.petcmd)
elseif spell.type == 'PetCommand' and status == 'Idle' then
equip(sets.idle.petcmd)
elseif spell.name == 'Reward' and status == 'Engaged' then
equip(sets.engaged.reward)
elseif spell.type == 'Reward' and status == 'Idle' then
equip(sets.idle.reward)
end
end
function status_change(new,old)
if new == 'Engaged' then
equip(sets.engaged.TP)
else
equip(sets.idle.pettank)
end
end
function aftercast(spell)
if player.status == 'Engaged' then
equip(sets.engaged.TP)
else
equip(sets.idle.pettank)
end
end