🏆 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!
How do I change the attack damage for units during the game (so not in object editor) without using upgrades. I've seen it done before in other games, but haven't found how to do it myself. +rep for help offcourse
create custom abilities based on Item Damage Bonus and add it to your unit
if you want to change the damage seamlessly you will have to create abilities with values 1 2 4 8 16 32 64 and so on because you can sum up any value with these by adding the right abilities
Examples:
15 = 8 + 4 + 2 + 1
23 = 16 + 4 + 2 + 1
make abilites and save them:
ability[0] = +1 dmg
ability[1] = +2 dmg
ability[2] = +4 dmg
ability[3] = +8 dmg
ability[4] = +16 dmg
you calculate it like this:
Bonus = 23
counter = 4
if 2^counter >= bonus
add ability[counter]
set bonus = bonus - 2^counter
set counter = counter - 1
if 2^counter >= bonus
add ability[counter]
set bonus = bonus - 2^counter
set counter = counter - 1
You can see the example in the test map I've attached
See under Rage spell
Instead, I use Armor ability, you can change it to Damage ability in Object Editor Armor/Damage Ability
Well, for the conditions, you can change them yourself =D
Just learn the skill and type -75 to see the effect (-50 and -25 is disabled)
What can be changed from the custom command there, Vunjo ?
Let's say I want the damage to be added is 30, should I change the 100 to 30 ?
As in, +30 damage ?
How about +Armor ?
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.