• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Percentaged damage upgrade

Status
Not open for further replies.
Level 3
Joined
Aug 1, 2007
Messages
27
Hey Hive!

Is there any upgrade that increases damage by a percentage?
All I've found is 'Attack Damage Bonus' which increases by a fixed amount and
'Attack Dice Bonus' which also increases damage in a somewhat fixed amount.

I also don't really want to use auras, only if there's no other solution.

Thanks in advance!
 
Level 9
Joined
Dec 12, 2007
Messages
489
nope, there's no upgrade to increase damage by percentage.
however, you can actually use Apply Attack Upgrade Bonus to simulate percentage bonus damage.

For example:
default unit without any upgrade -> attack 100-110
set the Damage Upgrade Amount in unit attack field to 10 (10% of 100),
that way, whenever upgrade is researched, it will looks like it increase damage by 10% from its base damage.

the Apply Attack Upgrade Bonus is different between each unit it applies to based on the Damage Upgrade Amount value of each unit.

another way is using BonusMod.
 
Level 3
Joined
Aug 1, 2007
Messages
27
the Apply Attack Upgrade Bonus is different between each unit it applies to based on the Damage Upgrade Amount value of each unit.

another way is using BonusMod.

Yeah, I thought about that, too, but I've got too many different units which means a lot of (unnecessary) work. There I'd rather use an aura.
BonusMod sadly doesn't work for me anymore.

You can use a dummy ability such as command aura to accomplish this. Combine that ability and levels in it then set the level of it to the researched upgrade for all units.

An ability for each unit. Well, that would fix the need of a dummy unit carrying the aura.
I guess, I'll try and test both ways.

Thanks to both of you!
 
If you don't care about the green text showing up on the command card, you can always use Bribe's damage engine.
http://www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v2-2-1-0-a-201016/
  • Percentage Bonus
    • Events
      • DamageEvent Equal to 1.00
    • Conditions
      • <Add whatever conditions>
    • Actions
      • Set DamageEventAmount = (DamageEventAmount + (0.05 * DamageEventAmount))

For example, that trigger will increase the damage by 5% (0.05).
 
Status
Not open for further replies.
Top