- Joined
- Jun 2, 2009
- Messages
- 1,233
-
Double Hit Set Copy Copy
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in (Units within 750.00 of (Position of (Attacking unit)) matching ((((Matching unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True) and (((Matching unit) is A Hero) Equal to True)))) Greater than or equal to 2
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Double Hit for (Attacking unit)) Equal to 1
-
-
Then - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 5
-
-
Else - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 1
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Double Hit for (Attacking unit)) Equal to 2
-
-
Then - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 6
-
-
Else - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 2
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Double Hit for (Attacking unit)) Equal to 3
-
-
Then - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 7
-
-
Else - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 3
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Double Hit for (Attacking unit)) Equal to 4
-
-
Then - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 8
-
-
Else - Actions
-
Unit - Set level of Double Hit // dummy for (Attacking unit) to 4
-
-
-
-
Else - Actions
-
-
Game - Display to (All players) the text: (String((Level of Double Hit // dummy for (Attacking unit))))
-
-
When hero try to attack to enemy when there are 1 or more friends around it and when their REAL ability level 1, i want to set DUMMY ability level to 5
6 For level 2
7 For level 3
8 For level 4 but somehow i cannot make it properly. It sets dummy ability level to 4.
My goal is, set it's level to 5/6/7/8 when it has 1 or more allies around the attacker
By the way i think i am missing huge simple point. Because i am too tired at now and today i want to release my version and have a rest.
Update: Ok i have noticed my mistake, it is solved.
Last edited: