by malon3 » Tue Mar 15, 2022 4:34 pm
Case:
setting a monsters damage factor from an event
ApplyDamageFactor() and ApplyDamageFactors() do not alter the current damagefactors, but simply perform calculations based on it.
myactor.damagetype = "whatever";
myactor.damagefactor = 0.0;
This does not make an actor immune to that specific damagetype, it simply makes them immune to everything because the correlation between the damagetype and damagefactor isnt set
Case:
setting a monsters damage factor from an event
ApplyDamageFactor() and ApplyDamageFactors() do not alter the current damagefactors, but simply perform calculations based on it.
myactor.damagetype = "whatever";
myactor.damagefactor = 0.0;
This does not make an actor immune to that specific damagetype, it simply makes them immune to everything because the correlation between the damagetype and damagefactor isnt set