- Joined
- Feb 14, 2013
- Messages
- 26
-
Events
- Unit - A unit Is attacked
-
Conditions
- ((Attacking unit) belongs to an ally of Player12) Equal to True
- ((Attacking unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Attacking unit)) Equal to Infernal
-
Then - Actions
- Set Real = 6.00
- Hashtable - Save Real as (Key damage) of (Key (Attacking unit)) in Hashtable
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Attacking unit)) Equal to Skeleton Warrior
-
Then - Actions
- Set Real = 3.00
- Hashtable - Save Real as (Key damage) of (Key (Attacking unit)) in Hashtable
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Attacking unit)) Equal to Dreadlord
- (Unit-type of (Attacking unit)) Equal to Death Knight
- (Unit-type of (Attacking unit)) Equal to Lich
- (Unit-type of (Attacking unit)) Equal to Mini Lord
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set Real = (3.00 + ((Real((Agility of (Attacking unit) (Include bonuses)))) x 1.90))
- Hashtable - Save Real as (Key damage) of (Key (Attacking unit)) in Hashtable
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Set Real = 0.10
- Hashtable - Save 0.00 as (Key Ctime) of (Key (Attacking unit)) in Hashtable
- Hashtable - Save Real as (Key Mtime) of (Key (Attacking unit)) in Hashtable
- Hashtable - Save Handle Of(Triggering unit) as (Key target) of (Key (Attacking unit)) in Hashtable
- Unit Group - Add (Attacking unit) to Group_gold
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
when an unit attacks on the enermies or tower of enermies, the unit will receive an amount of gold
but when gamer controls the unit pressing "S" (Stop) continiously the unit will not lose HP and still recieving gold.