- Joined
- Jun 17, 2010
- Messages
- 2,275
Ahh it was weird, as soon as i chose my ability that triggers this, wc3 crashed.
-
Dot Creation
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Random integer number between 1 and 100) Less than or equal to ((10 x (Level of Wounding Shadow for (Attacking unit))) + 5)
-


(Level of Wounding Shadow for (Attacking unit)) Greater than 0
-
-

Actions
-


Set NumberOfDotted = (NumberOfDotted + 1)
-


Set Attacked[NumberOfDotted] = (Triggering unit)
-


Set Attacker[NumberOfDotted] = (Attacking unit)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Attacker[(NumberOfDotted - 1)] Equal to Attacker[NumberOfDotted]
-
-



Then - Actions
-




Set Attacker[(NumberOfDotted - 1)] = (Attacking unit)
-
-



Else - Actions
-
-


Floating Text - Create floating text that reads • above Attacked[NumberOfDotted] with Z offset 0.00, using font size 20.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-


Trigger - Add to Dot Extra Damage <gen> the event (Unit - Attacked[NumberOfDotted] Takes damage)
-


Set RedDot[NumberOfDotted] = (Last created floating text)
-


Floating Text - Change the lifespan of RedDot[NumberOfDotted] to 15.00 seconds
-
-
-
Dot Movment
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to NumberOfDotted, do (Actions)
-



Loop - Actions
-




Floating Text - Change the position of RedDot[(Integer A)] to Attacked[(Integer A)] with Z offset 0.00
-
-
-
-
-
Dot Extra Damage
-

Events
-

Conditions
-

Actions
-


Unit - Cause Attacker[NumberOfDotted] to damage Attacked[NumberOfDotted], dealing ((Damage taken) x (100.00 + (50.00 x ((Real((Level of Wounding Shadow for Attacker[NumberOfDotted]))) - 1.00)))) damage of attack type Hero and damage type Normal
-
-
-
Mana recovery
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Level of Soul HArvest for (Killing unit)) Greater than 0
-
-

Actions
-


Unit - Set mana of (Killing unit) to ((Percentage mana of (Killing unit)) + ((Real((Level of Soul HArvest for (Killing unit)))) x 2.00))%
-
-










