• 🏆 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!

Stats effective.

Status
Not open for further replies.
Level 14
Joined
Aug 23, 2013
Messages
285
I want make a map that stats will have effect different base on race:
Example:
Human:
1 main : 1 damage
1 Str: 10 hp. 0.05 rg hp.
1 Agi: 0.01% as, 0.01 armor.
1 int: 10 mp, 0.05 rg mp.
Dragon:
1 Main : 3 damage
1 Str : 30 hp. 0.3 regen
1 agi: 0.001% as, 0.05 armor
1 int: 20 mp, 0.2 rg mp.

Or ability that will give bonus stats base on unit stats
human: bonus 10% int
dragon: bonus 30% all stats.
 
Level 11
Joined
Nov 15, 2007
Messages
781
For the damage you could just give Dragons a hidden Command Aura that increases their damage by 200%, since % damage increases only increase base damage (i.e. damage from stats).

Regeneration is easy, just periodically increase dragons' health and mana based on their strength/int.

HP, mana, and particularly armor and attack speed are more difficult. Would require periodically checking hero stats and adding/removing item stat boosting abilities as necessary.

Increasing base stats by a % would be much easier. Simply store the unmodified base stats to a variable, and periodically check the unit's stats for changes.
 
Status
Not open for further replies.
Top