- Joined
- Mar 28, 2010
- Messages
- 42
-
Demon Orc
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Demon Orc
-
Actions
- Set CreepDieCount[1] = 0
- Set CreepDie_group[1] = (Units within 1000.00 of (Position of (Dying unit)))
-
Unit Group - Pick every unit in CreepDie_group[1] and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A Hero) Equal to True
-
Then - Actions
- Set CreepDieCount[1] = (CreepDieCount[1] + 1)
- Set CreepDieHero[CreepDieCount[1]] = (Picked unit)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to CreepDieCount[1], do (Actions)
-
Loop - Actions
- Hero - Add (61 / CreepDieCount[1]) experience to CreepDieHero[(Integer A)], Hide level-up graphics
-
Loop - Actions
- Custom script: call DestroyGroup(udg_CreepDie_group[1])
-
Events
my setting is gained 61 exp...y gained double?