DivineStrike.lua 439 B

123456789101112131415
  1. --[[
  2. Script Name : DivineStrike.lua
  3. Script Purpose : Templar Direct Damage spell with Undead bonus damage
  4. Script Author : theFoof
  5. Script Date : 2014.3.9
  6. --]]
  7. function cast(Caster, Target, DmgType, MinDmg, MaxDmg)
  8. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  9. --[[ We don't have racetypes on npcs yet
  10. if GetRaceType(Target) == "Undead" then
  11. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  12. end--]]
  13. end