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

[Misc] Object Editor Upgrades Tab - Attack Damage Loss Bonus

Level 2
Joined
May 6, 2018
Messages
3
Hi everyone,

Would like to share a simple trick I discovered while trying to change bounce attack damage loss without triggers because I am on 1.31 and apparently BlzSetUnitWeaponRealField does not work. The method is to use Upgrade Effect - Attack Damage Loss Bonus
1747369769908.png

But the accepted fields are Integers only. But for the bounce attack damage factor, it is a Real value.
1747369847328.png

Therefore, to make the Effect - Attack Damage Loss Bonus use decimals, we can temporarily change the effect to another, such as Aura Data Bonus, and input the values we want.
1747369914957.png

After which, we will change back to the actual effect Attack Damage Loss Bonus.
1747369964253.png

Although both fields show as 0, i believe internally it will reflect as the previous value we saved (0.10).

Now, we can change the value of the bounce attack using the upgrade field but do take note that it refers to the damage loss and not the damage dealt. So what I do for my map is to set the weapon damage loss to 0.00, then use the upgrade to apply accordingly but it is up to you.

I think this can be applied to other effects as well but I did not test them out in completion. Hopefully this will be helpful to some people as it is really a simple trick and do pardon me for any formatting issues whatsoever. Attached a simple test map (Included the Damage Engine 5.4.2.3 to display damage values) if you want to play around with it.

Credits
Bribe - Damage Engine
 

Attachments

  • BounceDamageTest.w3x
    40.9 KB · Views: 0
Top