im making an RPG map and i got a problem with the armor of units in Sc2.
while in wc3 armor prevented damage with a percentage calculation,
Sc2 armor prevents all the time just a fixed value.
so it is always better to have a high damage value otherwise the full damage will be blocked.
but i want it like in Wc3.
does anybody know if this is possible even without triggers?
and if yes, how?
if it would be just possible with triggers,
could anybody give me hints how to get the armor of a unit via triggers?
it would be a silly idea to save the armor of all units in variables which are dependent on all things which could change the armor. >.<
For units without shields you could make them regenerate HP by taking damage, and add to this trait instead of giving armor. I don't know the smallest unit the game doesn't round down to 0, so that might be a problem, and you would have 2x the "armor" if the unit has shields (if it has shield armor)
thank you for your answer but that was exactly what i do not want.
it would be just silly to work with triggers,
because atm there is no way to get the armor value of a unit.
if blizz would at least give us the power to get this value i could make an own system which prevents damage with a percentage.
so my main question is, if it works without triggers - data editor...
There is the possibility to give units BehaviorBuffs that actually have a DamageResponse (haven't tried them yet) but i guess you can fraction incoming damage with that
Also Minimum Damage can be edited somewhere ... have to find it
Sorry, I meant the Combat-Life gained through damage taken or whatever it's called. It's 3 fields in the data editor (HP/Shields/Energy), and can be set for a unit or a Behavior (Modification+), possibly upgrades too.
I know that 1 point or more in the HP field makes you effectively immortal, otherwise I haven't used it much.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hiho,
im making an RPG map and i got a problem with the armor of units in Sc2. while in wc3 armor prevented damage with a percentage calculation, Sc2 armor prevents all the time just a fixed value. so it is always better to have a high damage value otherwise the full damage will be blocked.
but i want it like in Wc3. does anybody know if this is possible even without triggers? and if yes, how? if it would be just possible with triggers, could anybody give me hints how to get the armor of a unit via triggers?
it would be a silly idea to save the armor of all units in variables which are dependent on all things which could change the armor. >.<
Robbepop
For units without shields you could make them regenerate HP by taking damage, and add to this trait instead of giving armor. I don't know the smallest unit the game doesn't round down to 0, so that might be a problem, and you would have 2x the "armor" if the unit has shields (if it has shield armor)
hiho,
thank you for your answer but that was exactly what i do not want. it would be just silly to work with triggers, because atm there is no way to get the armor value of a unit.
if blizz would at least give us the power to get this value i could make an own system which prevents damage with a percentage. so my main question is, if it works without triggers - data editor...
Robbepop
There is the possibility to give units BehaviorBuffs that actually have a DamageResponse (haven't tried them yet) but i guess you can fraction incoming damage with that
Also Minimum Damage can be edited somewhere ... have to find it
Sorry, I meant the Combat-Life gained through damage taken or whatever it's called. It's 3 fields in the data editor (HP/Shields/Energy), and can be set for a unit or a Behavior (Modification+), possibly upgrades too. I know that 1 point or more in the HP field makes you effectively immortal, otherwise I haven't used it much.