CardEffectFactory - DCGO2/DCGO-Card-Scripts GitHub Wiki

Card Effect Factory contains all the functions that have to do with creating new continuous effects on the gamestate. Giving cards passive keyword effects and special digivolution requirements are examples of this.

Keyword Effects

This contains functionality for giving cards keywords that that's present passively, i.e. not part of a triggered effect. Anything that's triggered should instead be handled by the similar functionality in CardEffectCommons. The functions in this category that should be used when making cards are detailed here.

Static Modification effects

The rest of CardEffectFactory is based on adding other continuous effects to cards. Once again, anything that's not part of a triggered effect is here. There's a few general subcategories of this:

  • Protection Effects, which are detailed here.
  • Digivolution/link changes, explained here.
  • Battle-related buffs/debuffs, detailed here.
  • Action-preventing effects, like being unable to attack, full list here.