Logic for applying damage effects in a card-based duel system. Handles charm triggers, and over-time (OT) effects.
More...
|
|
override IEnumerator | MainLogic (Dueler caster, Dueler target, Dueler originalTarget, float value) |
| |
| void | EndLogic () |
| |
|
override bool | AILogic (Dueler caster, Dueler target) |
| |
|
override Dueler | AISelect (Dueler caster, List< Dueler > targets) |
| |
|
void | AddValue (int n) |
| |
| int | GetElement (Dueler caster, Dueler enemy) |
| | Gets the element to use for this logic, based on the matcher type.
|
| |
| bool | SatisfyCondition (Dueler caster, Dueler target) |
| | Checks if the card condition is satisfied for the given caster and target.
|
| |
| int | RepeatCount (Dueler caster, Dueler target) |
| | Gets the number of times to repeat the logic for the given caster and target.
|
| |
| List< Dueler > | GetTargets (List< Dueler > targets, List< Dueler > allTargets) |
| | Determines the list of targets for this logic based on the allEnemy flag.
|
| |
| IEnumerator | MainLogic (Dueler caster, Dueler target, Dueler originalTarget, float value) |
| | The main logic to apply to a single target.
|
| |
| bool | AILogic (Dueler caster, Dueler target) |
| | AI logic for determining if this logic should be used on the given target.
|
| |
| Dueler | AISelect (Dueler caster, List< Dueler > targets) |
| | AI logic for selecting the best target for this logic.
|
| |
|
|
static float[] | AttackModifier [get, set] |
| |
|
static int[] | PierceModifier [get, set] |
| |
|
override bool | CanCrit [get] |
| |
|
override int | DamageAmount [get] |
| |
|
int | MinValue [get] |
| | Minimum value for the effect (e.g., damage or heal).
|
| |
|
int | MaxValue [get] |
| | Maximum value for the effect (e.g., damage or heal).
|
| |
|
bool | PerPip [get] |
| | If true, effect value is multiplied by the number of pips.
|
| |
|
bool | AllEnemy [get] |
| | If true, applies to all enemies.
|
| |
|
bool | Self [get] |
| | If true, applies effect to self.
|
| |
|
CardCondition | CardCondition [get] |
| | The condition that must be satisfied for this logic to apply.
|
| |
|
RepeatCondition | RepeatCondition [get] |
| | The repeat condition for this logic.
|
| |
|
virtual bool | CanCrit [get] |
| |
|
Card | Card [get, set] |
| | The card this logic belongs to.
|
| |
|
virtual int | DamageAmount [get] |
| |
Logic for applying damage effects in a card-based duel system. Handles charm triggers, and over-time (OT) effects.
◆ EndLogic()
| void CardRPG.DamageLogic.EndLogic |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- Duel/Logic/DamageLogic.cs