How to make Stats Debuff/Buff?

Status
Not open for further replies.
afaik there's no direct way to increase stats using abilities.
you can, however, make an ability based on Item Hero Stat Bonus, then set the attribute bonus to whatever you want, and a dummy ability that the unit casts. then when the unit casts the spell, make a trigger that adds the stat ability to the unit.
 
what do you mean by "get stats when he casts?" that's what the spell trigger would do.
like i said, afaik there is no direct way to increase stats using just abilities.

He means:

Unit Casts Spell.
Get stats of targeted unit.
Save stats.
Modify stats accordingly.
Reset them after duration.

But there is a slight problem here, it will look pretty bad and it will be difficult to telegraph to the player why their heroes stats were reduced without that unit having a buff. You can also use that buff to be able to time the trigger without using Waits or complicated timers. Run a periodic effect that checks all indexed units, and if that unit doesn't have the buff then reset their stats and deindex them.
 
Status
Not open for further replies.
Back
Top