I'm trying to make an ability that removes all positive buffs from an enemy unit and then slows them for 6 seconds. Currently, the ability just removes all the buffs on the enemy unit. How do you determine what buffs are helpful buffs and which are harmful?
I think the Remove Behavior effect can target all behaviours with the temporary flag so if you just give all your negative behaviours the temporary flag then that night work. If that doesn't work then you would probably need a Set effect that contains a Remove Behavior for each of your negative buffs.
A simpler solution is it just applies a single buff and all buff considered negative have a remove validator of the Unit Compare Behavior Count type so the application of the purge buff that does the slowing removes them.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I'm trying to make an ability that removes all positive buffs from an enemy unit and then slows them for 6 seconds. Currently, the ability just removes all the buffs on the enemy unit. How do you determine what buffs are helpful buffs and which are harmful?
Thanks!
I think the Remove Behavior effect can target all behaviours with the temporary flag so if you just give all your negative behaviours the temporary flag then that night work. If that doesn't work then you would probably need a Set effect that contains a Remove Behavior for each of your negative buffs.
A simpler solution is it just applies a single buff and all buff considered negative have a remove validator of the Unit Compare Behavior Count type so the application of the purge buff that does the slowing removes them.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg