Skip to content

DefenseDown

A condition that removes a point of defense recognised by TrueDef which can result in a +1 damage effects while it is active when the AttackProperty isn't NoExceptions. NOTE: This has several caveats, check the CalculateBaseDamage documentation to learn more.

SetCondition

When amending the condition, the turn amount is always increased by the existing one (meaning it stacks).

When inflicted as a new condition, nothing special happens.

StatusEffect

This condition is supported by this method and it is always inflicted to the actor when called.

It includes optional visual effects when effect is true:

  • StatEffect is called with type 3 (blue down arrow)
  • The StatDown sound is played if it wasn't already

CalculateBaseDamage

If the attacker has this condition, a defense may be removed resulting in a -1 damage effect that applies unless property is NoExceptions. NOTE: This has several caveats, check the method's documentation to learn more. Notably, it prevents the Numb condition to add a defense.

DoDamage

After damage calculations, if the target's hp is still above 0 and it doesn't have the Shield condition, this condition will be inflicted via StatusEffect if property is DefDownOnBlock. The amount of turn to inflict is 2 turns unless block is true where it's 1 turn instead. On top of this, it inflicts for one more turn if the target is a player party member (meaning 3 turns or 2 with block).