aCourierCostume.lua 364 B

1234567891011121314151617
  1. --[[
  2. Script Name : a courier costume
  3. Script Purpose :
  4. Script Author : premierio015
  5. Script Date : 07/01/2021
  6. Script Notes : quest item -> sets illuision
  7. --]]
  8. function equipped(Item, Player)
  9. CastSpell(Player, 5459, 1)
  10. end
  11. function unequipped(Item, Player)
  12. if HasSpellEffect(Player, 5459, 1) then
  13. CastSpell(Player, 5459, 1)
  14. end
  15. end