I have a behavior:buff that gives unit +10% hp.
It works fine on regular units. Unit with 1000 hp will have 1100 hp with buff.
It is broken with hero units. It seems hp granted from attributes and veterancy are NOT accounted for it only goes of the base unit stat.
This is across the board with all other stats: Amor, Damage, Mana, etc
I have checked on the unit, attribute, veterancy and behavior data modules for a check box that might factor it in.
Can't seem to find it. This seems like a super noob quesiton but Im about to pull my hair out.
Rollback Post to RevisionRollBack
Give reputation by pressing the "Like" button!
Zombie Blood (Video)
Lordaeron Castle Defense (Video)
WWI: Trench Warfare (In Arcade)
Lordaeron Castle Defense (WIP - May 2015)
Wait, what if i want to buff a unit with attributes and have it apply the correct value? can i only have one OR the other?
Does it work if the base health is edited through upgrades? and could it be done through a data-trigger hybrid system (where the attributes define the amount and the trigger edits the catalog) for that matter?
yes, you can use upgrades or catalog value set to directly alter the stat values; and then your buffs/attributes will amplify those new values. the only downside to upgrades and catalogs, are that they are unit specific. every marine will get the life boost, ect. but if you only have 1 unit type per player, it will work fine for you.