HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triggered spells dealing dmg equal to 3x intelligence of caster x ability being cast

10-01-2006, 09:18 PM#1
Fr0zenLord
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
Collapse Events
Unit - A unit Finishes casting an ability
Conditions
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Ability being cast) Equal to Flame Blast (Neutral Hostile)
Collapse 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
Else - Actions
10-01-2006, 09:26 PM#2
Captain Griffen
Finishes casting doesn't have a target. Use starts effect of.
10-01-2006, 09:32 PM#3
Fr0zenLord
XD thanks alot, Never knew what that "Effect ability" thing was for -.-