Hi. I recently made a dummy script for a spell that does 150 damage to a target but if they are knocked down it does 300 damage instead. It works perfect HOWEVER it doesn't show the damage dealt when you cast it. The target's health changes but no numbers pop up on the screen showing the damage done. Can anyone crack the code?
function Tenderizer(effectIndex, spell)
if (spell:GetTarget():HasAuraWithMechanic(12)) then
spell:GetCaster():DealDamage(spell:GetTarget(), 300, 80914)
else
spell:GetCaster():DealDamage(spell:GetTarget(), 150, 80914)
end
end
RegisterDummySpell(80914, Tenderizer)