Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Pet Definitions
- valuablePet = { "BouncingBertha", "DipperYuly" }
- normalPet = { "ScissorlegXerin", "WarlikePatrick" }
- -- Pet Food Definitions
- valuablePetFood = { "Peta Food Zeta" }
- normalPetFood = { "Pet Food Theta" }
- function get_sets()
- -- Reward Set
- sets.precast.JA['Reward'] = { ear1 = "Ferine Earring", body = "Monster Jackcoat", hands = "Ogre Gloves" }
- end
- function precast(spell)
- -- Equip Reward set
- if spell.english == 'Reward' then
- -- If your Pet is High-Quality...
- if pet.name == valuablePet then
- -- equip and use High-Quality pet food.
- equip(set_combine(sets.precast.JA['Reward'], {ammo=valuablePetFood}))
- -- Otherwise...
- elseif pet.name == normalPet then
- -- equip and use normal quality pet food.
- equip(set_combine(sets.precast.JA['Reward'], {ammo=normalPetFood}))
- end
- end
- end
Add Comment
Please, Sign In to add comment