- Joined
- Nov 21, 2016
- Messages
- 30
I want to achieve the effect below but what i triyed untill now doesn't do anything or just crashes my game
Active
Activate to deal 1.2x to an enemy creep
Passive
Increases your attack damage vs creeps by 15%
BTW=i'm setting the unit group in another trigger but i'm shure that is all correct the damaged unit is on the unit group
Active
Activate to deal 1.2x to an enemy creep
Passive
Increases your attack damage vs creeps by 15%
-
Throwing Axe 2
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
((Triggering unit) is in ThrowingAxe[0]) Equal to True
-
((Triggering unit) is in ThrowingAxe[1]) Equal to True
-
-
-
((Attacking unit) is A Hero) Equal to True
-
-
Actions
-
Trigger - Add to Throwing Axe <gen> the event (Unit - (Attacked unit) Takes damage)
-
-
-
Throwing Axe
-
Events
-
Conditions
-
((Damage source) has an item of type Throwing Axe) Equal to True
-
Or - Any (Conditions) are true
-
Conditions
-
((Attacked unit) is in ThrowingAxe[0]) Equal to True
-
((Attacked unit) is in ThrowingAxe[1]) Equal to True
-
-
-
-
Actions
-
Set Valor1 = ((Damage taken) / 100.00)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Attacked unit)) is an ally of (Owner of (Damage source))) Not equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ThrowingAxeAttack[(Player number of (Owner of (Damage source)))] Equal to 1
-
-
Then - Actions
-
Set ThrowingAxeAttack[(Player number of (Owner of (Triggering unit)))] = 0
-
Unit - Cause (Damage source) to damage (Attacked unit), dealing (Valor1 x 20.00) damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
-
Unit - Cause (Damage source) to damage (Attacked unit), dealing (Valor1 x 15.00) damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
-
-
-
Throwing Axe 3
-
Events
-
Unit - A unit Uses an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Throwing Axe
-
-
Actions
-
Set ThrowingAxeAttack[(Player number of (Owner of (Triggering unit)))] = 1
-
-