FutureProg functions

adddamageprotectioneffect

Effectscomputer function, computer program, standard futureprog

adddamageprotectioneffect overload 1

Effect adddamageprotectioneffect(Character target, Number multiplier, Number hits)
Available in
  • computer function
  • computer program
  • standard futureprog
Adds saved post-armour protection. A qualifying hit is one incoming positive body-damage packet, including internal descendants. Previews and zero-damage packets do not spend hits. Returns the existing identical configuration without stacking/refreshing, or null for invalid inputs.
ParameterTypeDescription
target Character The character.
multiplier Number Damage multiplier in [0,1]. Zero fully blocks.
hits Number Whole qualifying hits; zero is unlimited.