I'm trying to make a boss cast spells at only heroes not the summons around them. However it currently hits minions and heroes. How can i add multiple conditions for the matching unit variable set, as in make it set the variable to a hero that belongs to an enemy player.
-
web
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
- Set Webgroup = (Units in spiderweb <gen> matching (((Matching unit) belongs to an enemy of Neutral Hostile) Equal to (==) True))
- Set webrandom = (Random unit from Webgroup)
- Unit - Order Spiderboss to Night Elf Keeper Of The Grove - Entangling Roots webrandom
- Custom script: call DestroyGroup( udg_Webgroup )
-
Events