Barbie wrote:Thanks for reply. May I ask from where you got this information?SilverSound wrote:The string supposed to be in there is this:Code: Select all
ReducedDamageType='shot'
I'll PM you the info.
Barbie wrote:Thanks for reply. May I ask from where you got this information?SilverSound wrote:The string supposed to be in there is this:Code: Select all
ReducedDamageType='shot'
Yes, the combination of ReducedDamageType and ReducedDamagePct reduces (or increases, if ReducedDamagePct<0) the damage a pawn takes. See function Pawn.TakeDamage:Red_Fist wrote:Isn't this like for pawns that have shields, the amount of reduced damage while holding a shield ?
Code: Select all
if ( [...] ReducedDamageType == damageType)
actualDamage = float(actualDamage) * (1 - ReducedDamagePct);