9
3

IcemaneLeash.lua 310 B

1234567891011
  1. local IcemanesCometh = 18
  2. function used(Item, Player)
  3. if GetQuestStep(Player, IcemanesCometh) == 1 then
  4. target = GetTarget(Player)
  5. if GetName(target) == 'an icemane cub' then
  6. if not IsInCombat(target) then
  7. CastEntityCommand(Player, target, 1278, "Leash")
  8. end
  9. end
  10. end
  11. end