[Spell] Trigger buff duration

Level 10
Joined
Jun 13, 2010
Messages
398
Hi

I want buffs in my map to be affected by specific stats increasing their duration.

I suppose the best way to do this is setting all object buff durations to max 9999 and then remove them by timing in triggers.

However what if two units cast the same buff, how do you keep track of what unit still having a buff on the given target and their particular effect on it (healing/damage/amplification etc)?

And what other things may I be missing? 🤔
 
Nowadays you have access to a bunch of very useful functions to manipulate abilities dynamically
  • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Inner Fire)'s Real Level Field: Duration - Normal ('adur') of Level: 0 to 60.00
  • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Inner Fire)'s Real Level Field: Duration - Hero ('ahdu') of Level: 0 to 120.00
 
Nowadays you have access to a bunch of very useful functions to manipulate abilities dynamically
  • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Inner Fire)'s Real Level Field: Duration - Normal ('adur') of Level: 0 to 60.00
  • Ability - Set Ability: (Unit: (Triggering unit)'s Ability with Ability Code: Inner Fire)'s Real Level Field: Duration - Hero ('ahdu') of Level: 0 to 120.00

Wait so actually when the stats are increased/decreased as an event, you may trigger what raw value of the spell itself? That's crazy I didn't know that.

How many stats of the ability are you able to alter through this?
 
Back
Top