MiragulsDarkHeartSummoning.lua 397 B

123456789101112131415
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Necromancer/MiragulsDarkHeartSummoning.lua
  3. Script Author : Neatz09
  4. Script Date : 10/16/19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, ItemID)
  9. -- Summon 1 Dark Heart (Apprentice)
  10. if IsPlayer(Target) and HasItem(Target, ItemID) then
  11. RemoveItem(Target, ItemID)
  12. end
  13. SummonItem(Target, ItemID)
  14. end