What I'd like is to have an Armor attribute that maps to the correct % damage taken, but the "Modify fraction" field in the Damage Response part of behaviors seems to be multiplicative, not additive. So I can't simply stack +1% damage resistance to 100, it seems. Is there some way to do this additively?
I'd really rather not do this with Catalog sets for %dmg behaviors. It'd involve a behavior for each unit type in the game and then still gets muddled if one player has two of the same unit type but a buff or something has given the two 2 different armor values.
oh, wow, cool. Thank you. I never knew anything about those fields. For the curious, LoL's damage 'constant' is .01. So simply set the Positive Damage Ratio to .01.
So I can do either armor or magic resist this way, but not both. Is there some way I can give a unit separate 'armors' that only interact with certain kinds of damage?
Although catalog triggers can alter the damage response damage fraction. You could then just make a trigger based calculation system and have a behaviour for each armor type.
I'd like to implement the League of Legends damage resistance system (explained in detail http://leagueoflegends.wikia.com/wiki/Armor).
What I'd like is to have an Armor attribute that maps to the correct % damage taken, but the "Modify fraction" field in the Damage Response part of behaviors seems to be multiplicative, not additive. So I can't simply stack +1% damage resistance to 100, it seems. Is there some way to do this additively?
I'd really rather not do this with Catalog sets for %dmg behaviors. It'd involve a behavior for each unit type in the game and then still gets muddled if one player has two of the same unit type but a buff or something has given the two 2 different armor values.
why u no like WC3 armor system?
http://www.sc2mapster.com/forums/development/data/57132-armor-formula-solved/#p1
oh, wow, cool. Thank you. I never knew anything about those fields. For the curious, LoL's damage 'constant' is .01. So simply set the Positive Damage Ratio to .01.
So I can do either armor or magic resist this way, but not both. Is there some way I can give a unit separate 'armors' that only interact with certain kinds of damage?
Energy shield maybe?
Although catalog triggers can alter the damage response damage fraction. You could then just make a trigger based calculation system and have a behaviour for each armor type.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg