ShardofEssence.lua 448 B

12345678910111213
  1. --[[
  2. Script Name : ItemScripts/ShardofEssence.lua
  3. Script Purpose : Shard of Essence Conj(Summoned Item)
  4. Script Author : Neatz09
  5. Script Date : 10/16/2019
  6. Script Notes :
  7. --]]
  8. local SPELLID = 5014
  9. local SPELL_TIERS = { [48003] = 1, [48004] = 2, [48005] = 3, [48010] = 4, [48002] = 5, [48009] = 7, [48012] = 9 }
  10. function used(Item, Player)
  11. local item_id = GetItemID(Item)
  12. CastSpell(Player, SPELLID, SPELL_TIERS[item_id])
  13. end