Jayykob
New Member
- Reaction score
- 1
I'm creating a spell Which does more damage the bigger the difference between the attacking unit and the attacked units mana:
When activating this ability even when i cast a spell basen on frost arrows, it shows bonus damage = 00.000 :banghead: how to deactivate this?
And How do I do to make the text constantly move up some units before removing? Like Impetus bonus damage it shows (+x) dmg
Rep ++ if anyone can help me
Trigger:
- Oversmart
- Events
- Unit - A unit Is attacked
- Conditions
- ((Attacking unit) has Oversmart ) Equal to True
- Actions
- Trigger - Add to Overrumpled Effect <gen> the event (Unit - (Attacked unit) Takes damage)
- Events
Trigger:
- Overrumpled Effect
- Events
- Conditions
- ((Damage source) has buff Overrumpled ) Equal to True
- Actions
- Trigger - Turn off (This trigger)
- Unit - Cause (Damage source) to damage (Triggering unit), dealing ((0.01 + (0.03 x (Real((Level of Oversmart for (Damage source)))))) x (Abs(((Mana of (Damage source)) - (Mana of (Triggering unit)))))) damage of attack type Hero and damage type Magic
- Set damageVari = (Damage taken)
- Special Effect - Create a special effect attached to the head of (Triggering unit) using Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Floating Text - Create floating text that reads (String(damageVari)) above (Attacked unit) with Z offset 10.00, using font size 10.00, color (75.00%, 40.00%, 85.00%), and 25.00% transparency
- Trigger - Turn on (This trigger)
- Wait 0.40 seconds
- Floating Text - Destroy (Last created floating text)
When activating this ability even when i cast a spell basen on frost arrows, it shows bonus damage = 00.000 :banghead: how to deactivate this?
And How do I do to make the text constantly move up some units before removing? Like Impetus bonus damage it shows (+x) dmg
Rep ++ if anyone can help me