- Joined
- Feb 27, 2016
- Messages
- 617
so if your food is equal to 50 or greater than your hero will get a hunger buff
but i dont know how to add the buff
but i dont know how to add the buff
call UnitAddAbility(udg_YourUnit, udg_YourBuffID)
UnitAddAbility()
doesn't work if you want to directly add the buffs.UsingUnitAddAbility()
doesn't work if you want to directly add the buffs.
What most people do is add the Slow Aura (Tornado) ability to the unit since it doesn't show up in the unit's command card. All you will have to do is make sure that the movement speed, attack speed, etc values are all set to 0, the affected targets are set to "Self," and that you edit the Buff field to whatever buff you want.
Lol that's why I said "most people."I don't use this AT ALL.
Which abilities?by certain abilities that remove positive/negative buffs
Which abilities?
Afaik, there is no ability that removes aura buffs.
Non-aura abilities cannot apply different buffs when based of the same base ability group.