Need help with 20% magic power buff.

Level 5
Joined
Mar 7, 2024
Messages
82
hello everyone, I need help: when a hero is buffed with Bloodlust within 1 minute, its Magic Intelligence (or maybe Agility or Strength) will be increased by 20% (for example: the hero's Intelligence is 100 and the buff will be 120 and when the buff is lost, it will be subtracted by 20), and when the buff expires, the original value of 20% of the magic bonus will be lost.
 
You have a start effect of spell trigger that increases the hero attribute, store the bonus amount and adds it into a unit group, when it not already got buffed. The unit group is checked every 0.xs if the units still have the buff. When they have lost the buff reduce the hero attribute and remove the unit from the unit group.
 
Back
Top