- Joined
- Mar 6, 2015
- Messages
- 130
Hello
I thought Its a good Idea to Use Negative Damage and Show it via Bribe`s DDS you know there is a Heal type Damage mentioned in System But I Wondering Why Negative Damages Acting Like Positive Damages I mean This Trigger Damages Target instead of Healing it!
Any Idea why this is happening or any idea to Use DDS to Heal a unit?
I thought Its a good Idea to Use Negative Damage and Show it via Bribe`s DDS you know there is a Heal type Damage mentioned in System But I Wondering Why Negative Damages Acting Like Positive Damages I mean This Trigger Damages Target instead of Healing it!
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Key Finished) is stored as a Handle of (Key (Picked unit)) in Hero_Hashtable) Equal to False
-
Then - Actions
- Set DamageEventType = DamageTypeHeal
- Trigger - Turn off Nourish Cancel <gen>
- Unit - Cause Nrsh_Caster to damage Nrsh_Unit, dealing (- 2.00) x (Nrsh_Heal + Nrsh_Sp)) damage of attack type Spells and damage type Normal
- Trigger - Turn on Nourish Cancel <gen>
- Floating Text - Create floating text that reads (String(Nrsh_Heal)) above Nrsh_Unit with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 30.00%), and 80.00% transparency
- Floating Text - Show (Last created floating text) for (All allies of (Owner of Nrsh_Unit))
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Custom script: call RemoveSavedHandle(udg_Hero_Hashtable,GetHandleId(udg_Nrsh_Caster),StringHashBJ("NourishDummy"))
- Else - Actions
-
If - Conditions
Any Idea why this is happening or any idea to Use DDS to Heal a unit?