Hmm I cant seem to get this working, The damage is 0, and I cant test if my text works, because it always shows 0 -.-
Can anyone see where I went wrong in my trigger
Trigger:
Display Spell Damage
Events
Unit - A unit Finishes casting an ability
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Flame Blast (Neutral Hostile)
Then - Actions
Set Spell_Damage_Display = (((Intelligence of (Casting unit) (Exclude bonuses)) x 3) x (Level of (Ability being cast) for (Casting unit)))
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - (Real(Spell_Damage_Display)))
Floating Text - Create floating text that reads (String((Integer((Real(Spell_Damage_Display)))))) at (Target point of ability being cast) with Z offset 0.00, using font size 10.00, color (15.00%, 0.00%, 100.00%), and 0.00% transparency
Set FloatingText[31] = (Last created floating text)
Floating Text - Change FloatingText[31]: Disable permanence
Floating Text - Set the velocity of FloatingText[31] to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of FloatingText[31] to 3.00 seconds
Floating Text - Change the fading age of FloatingText[31] to 1.00 seconds