- Joined
- Feb 8, 2024
- Messages
- 2
Hi, I'd like to make a Serpent Ward that applies poison to the attacked unit and then switches to another unit to poison.
Is there an easier/better solution than this pseudocode?
Is there an easier/better solution than this pseudocode?
-
Serpent Ward - Switch Poison Target
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacking unit)) Equal to Serpent Ward
-
Actions
- Unit - Order (Attacking unit) to Attack random unit from unit group in range 400 of Serpent Ward matching "Has Buff: Poison = false"
-
Events