Skip to content

aux.StatChangeDamageStepCondition

Source Code | Usage Examples | aux Functions

A baseline condition function used for fast effects that can be activated during the Damage Step because they change a monster's ATK/DEF, but only up until before damage calculation (e.g. "Rush Recklessly").

Signature

aux.StatChangeDamageStepCondition(Effect e, int tp, Group eg, int ep, Group ev, Effect re, int r, int rp) → bool

lua
aux.StatChangeDamageStepCondition(e,tp,eg,ep,ev,re,r,rp)

Parameters

  • Effect e

    The effect being activated.

  • int tp

    The player activating the effect.

  • Group eg

    A group of cards associated to the event that prompted the effect activation. The specifics of this group vary depending on the event code.

  • int ep

    The player associated to the event that prompted the effect activation.

  • Group ev

    A value associated to the event that prompted the effect activation. The specifics of this value vary depending on the event code.

  • Effect re

    The effect that caused the event that prompted the effect activation.

  • int r

    Composite Reason value of the event that prompted the effect activation.

  • int rp

    The player that caused the event that prompted the effect activation.

Returns

  • bool

    true if it is currently not both the Damage Step and damage calculation has already occurred, false otherwise.