• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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.
 
Top