Flameshield.lua 735 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Conjuror/Flameshield.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.12 06:03:12
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- When damaged with a melee weapon this spell will cast Flameshield on target's attacker.
  10. AddProc(Target, 4, 100)
  11. end
  12. function proc(Caster, Target, Type, DmgType, Dmg)
  13. if Type == 4 then
  14. -- When damaged with a melee weapon this spell will cast Flameshield on target's attacker.
  15. -- Inflicts 10 heat damage on target
  16. ProcDamage(Caster, Target, "Flameshield", DmgType, Dmg)
  17. end
  18. end
  19. function remove(Caster, Target)
  20. RemoveProc(Target)
  21. end