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!
I want to have a "Magic Power" type ability on my heroes, where their spells will increase based on example: Storm Bolt + Magic Power = DMG. How can I do this?
The above is a simple formula used for increasing damage based on the level of the ability for that unit.
base damage is the amount of damage that the spell starts with. Lets say 100.
increase damage is the damage to increase per level. So lets say 20.
So the formula looks like this.
damage = 100 + (level * 20)
level 1 damage = 120
level 2 damage = 140
level 3 damage = 160
and so on.
I think you would need to use a Damage Detection System. There is a good one for GUI users that I use. It would allow you to detect the damage from your spell and then modify it to what you would like.
I think you would need to use a Damage Detection System. There is a good one for GUI users that I use. It would allow you to detect the damage from your spell and then modify it to what you would like.
You would have to follow the example he has given. I believe it is along the lines of
Event - Damage Event becomes equal to 1.00
Actions - If, Then, Else
If - DamageType equal to SPELLS
Then - set amount = amount + extra damage
Take a look at the example map and you should have a better idea. I'm sure there are other things you would have to add like the unit that is using the spell and I'm not sure if there is a way to differentiate which spell it is. Feel free to post in the spell's thread or as looking_for_help. He is very helpful.
The only reason I would suggest this method is because I think you would rather have the damage occur when the storm bolt hits rather than as soon as you cast the spell. If you don't care about that then you can simply trigger the entire spell.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.