SilverTweezers.lua 528 B

1234567891011121314151617
  1. --[[
  2. Script Name : ItemScripts/SilverTweezers.lua
  3. Script Purpose :
  4. Script Author : Jabantiz
  5. Script Date : 6/23/2018
  6. Script Notes :
  7. --]]
  8. function used(Item, Player)
  9. local target = GetTarget(Player)
  10. if target ~= nil then
  11. local model = GetModelType(target)
  12. if model == 81 or model == 82 or model == 91 or model == 93 or model == 94 or model == 95 or model == 96 or model == 97 or model == 98 or model == 99 or model == 100 or model == 101 or model == 102 then
  13. CastSpell(target, 2550000, 1, Player)
  14. end
  15. end
  16. end