Ive searched and searched but i cant seem to find it... is there an integer or real in the trigger system related to a units current damage with modifyers? im trying to make a spell that when its cast, it does damage equal to the casters base+modifyer damage x a variable... but i cant find that anywhere
if it would excist it was under 'real' but it doesnt excist. the only thing i know that detects damage is 'event response - damage taken' but not the damage units do
This can take a bit of coding to figure out but basically say its an agility hero, they have X-Y amount of base damage. They get Z amount of damage per agility. Since the base values are constant you can set those initially.
The formula for damage would be (This is english math not world editor math): (Number between X and Y) This gets your base damage set + ((Base agility + Bonus mods) * Z) This gets ALL your agility then multiples by how much dmg / agility you should get + Any items found having damage on them