- Joined
- Feb 20, 2014
- Messages
- 409
Here is my trigger to turn the intelligence of my hero (integer) to real.
Event-
Temps - Every 2.00 seconds of game time
Action-
Set intellE = (Intelligence of Myhero[1] (Inclure bonuses))
Wait 0.10 seconds
Set intell = (Real(intellE))
Here is my trigger to use the intelligence as extra dammage :
Event-
Unit - A unit owned by Player 1 (Red) starts to cast an ability
Condition-
(Casting unit) equal to Myhero[1]
Action-
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing intell damage of attack type Sorts and damage type Normal
But it doesn't work. I don't know why. the dammage dealt are just the spell base dammage.
Event-
Temps - Every 2.00 seconds of game time
Action-
Set intellE = (Intelligence of Myhero[1] (Inclure bonuses))
Wait 0.10 seconds
Set intell = (Real(intellE))
Here is my trigger to use the intelligence as extra dammage :
Event-
Unit - A unit owned by Player 1 (Red) starts to cast an ability
Condition-
(Casting unit) equal to Myhero[1]
Action-
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing intell damage of attack type Sorts and damage type Normal
But it doesn't work. I don't know why. the dammage dealt are just the spell base dammage.