- Joined
- May 20, 2009
- Messages
- 822
I think I'm going to ask this here, to get a reply faster...
Basically, I have a spell that I want to do the following:
1. Removes positive buffs from the target enemy unit, and deals damage based on the amount of buffs. (DONE!)
2. Make it automatically target units with buffs. (DONE!)
3. Make it target the enemy unit with the MOST positive buffs. If one unit has 1 positive buff, and another within the same range has 5, I want it to automatically target the one with 5.
Not sure how to do the last one...
Also, is there a way to check if a unit becomes idle? (Solved but need to know how to make it MUI)
Need to know how to make it MUI, but:
Basically, I have a spell that I want to do the following:
1. Removes positive buffs from the target enemy unit, and deals damage based on the amount of buffs. (DONE!)
2. Make it automatically target units with buffs. (DONE!)
3. Make it target the enemy unit with the MOST positive buffs. If one unit has 1 positive buff, and another within the same range has 5, I want it to automatically target the one with 5.
Not sure how to do the last one...
Also, is there a way to check if a unit becomes idle? (Solved but need to know how to make it MUI)
Need to know how to make it MUI, but:
-
BuffBurn Idle
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Arcane Spell Breaker) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current order of (Picked unit)) Equal to (Order(none))
-
Then - Actions
- Set BBAttackMove = True
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Arcane Spell Breaker) and do (Actions)
-
Events
Last edited: