User Tools

Site Tools


plugin-card-action-pack-1

MYTH_CGC_ActionPack1 is a plugin adds several new Card Actions (CAs) which involve the Card Selection Window.

Current Version: 1.1.0

Selection CAs open the Selection Window and have the player select cards.

Movement CAs perform an action involving the cards selected in the Selection CA.

Clear CAs clears the list of selected cards so future Movement CAs do not use them.

These Card Actions work together in a group as part of 1 of 3 stages:

  1. Selection
  2. Movement
  3. Clear

A Selection CA must be called before a Movement CA can execute, and a Clear CA cleans up all internal variables to prepare for the next set of Card Actions.

Example:

<Card Actions>
  Select 2 from deck
  Move selected to discard
  Clear selected
</Card Actions>

This makes the player move 2 cards of their choice from their deck to their discard.

Selection Card Actions

Select X from zoneName
Replace 'X' with a number or game variable, and replace 'zoneName' with 'deck', 'discard' or 'hand'. This opens the Card Selection Window and makes the player choose X cards from the specified zone.
Select X of Y from zoneName location
Replace 'X' with a number, 'Y' with another number,'zoneName' with a zone, and a 'location'.

This makes the player choose X cards from a selection of Y cards from the specified zone. Replace 'zoneName' with 'deck', 'discard' or 'hand'. Replace 'location' with 'Top', 'Bottom', 'Random'. If 'Top', The pool of cards will be grabbed from the top Y cards. If 'Bottom', the bottom. If 'random', cards will be grabbed randomly from the zone.
Select X from skills Y, Z, A, B
Replace X, Y, Z, etc with numbers.This makes the player choose X cards from a list of Skill IDs. The list of IDs can be any size.
Select X Type typeName from zoneName
Requires CardTypes. Replace X with a number, typeName with the name of a Card Type, and zoneName with a zone. This makes the player choose X cards from the specified zone filtered to only include the specified Card Type.
Select X of Y Type typename from zoneName location
Requires CardTypes. This makes the player choose X cards from the specified zone, filtered to only include the specified Card Type, with a pool size of Y grabbed from the top/bottom or grabbed randomly from the zone.

Note that each Selection CA adds to the list of selected cards, rather than overwriting it.

Movement Card Actions

Once the player has selected cards, these Card Actions will do something with them.

Move selected to zoneName
Replace 'zoneName' with a zone. This will move the selected cards from their previous zone to the specified zone.
Remove selected
This will remove the selected cards from play.
Add selected to zoneName
Replace 'zoneName' with a zone. This will add a copy of each selected card to the specified zone. Note that this is the only Movement Card Action that works when using the Card Action “Select from Skills” because it's the only one that does not require a zone of origin.

Clear Card Actions

Each Selection Card Action adds to the list of selected cards, and that list will not be cleared until you call one of the following:

Clear Selected
Clear Selection

This means that, until you call Clear Selected/Selection, you can perform multiple Selection CAs and one Movement CA which will act on all of them, or call multiple movement CAs with only one selected card.

Version History

**v1.1.0** 
- Added Select All Card Action
- Selection text will no longer appear while browsing cards normally.
- Updated for combatibility with CGC core v1.6.0 and Card Summons.
- Minor refactoring to improve Card Actions reading variables
- Renamed plugin
- Added option to not display text in the Card Selection Window
- Fixed crash from selecting cards too fast.

**v1.0.0**
- Released plugin
plugin-card-action-pack-1.txt · Last modified: 2024/03/24 05:48 by banerjeesw