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

Defense bonus per agility point change strength

Status
Not open for further replies.
Level 13
Joined
Oct 12, 2016
Messages
769
I've got a method for that. I was able to add evasion and critical strike to Agility by making a hidden passive ability.

For armor on Strength:
1) Disable the armor from Agility. Do this through Gameplay Constants.
2) Make an ability based off the "item bonus armor" ability.
3) Give this new "Armor Bonus" ability as many levels for each point of armor you want it to give. You'll have to make your own formula for it based off the maximum strength any hero can get.
For example:
If Maximum Strength = 200, and 5 Strength = 1 Armor, then make the ability have 40 levels with +1 Armor for each level.

4) Add this ability to your heroes.
5) Make a trigger! When a hero gains a level, check its strength and increase the level of "Armor Bonus" accordingly.
6) For strength from items, make another trigger! Use the events "Unit acquires item," "Unit loses an item," and "Unit sells an item" for the trigger, and do the same for step 5 to adjust the "Armor Bonus" ability.

*special extra* Sort through the Game Interface menu and change the info for both Strength and Agility to be more accurate to the new stats.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
For armor on Strength:
1) Disable the armor from Agility. Do this through Gameplay Constants.
2) Make an ability based off the "item bonus armor" ability.
3) Give this new "Armor Bonus" ability as many levels for each point of armor you want it to give. You'll have to make your own formula for it based off the maximum strength any hero can get.
For example:
If Maximum Strength = 200, and 5 Strength = 1 Armor, then make the ability have 40 levels with +1 Armor for each level.
Would be better to make 8 or 16 separate abilities, each giving an increment in powers of 2.

Of course the problem is that one cannot add fractional armor. Yes fractional armor is a thing so every point of agility does count towards EHP when taking attack damage.
 
Status
Not open for further replies.
Top