Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UPPERCASE indicates a type
- ## whilePresent
- Only works on creatures.
- Array of MODIFIER
- Example:
- modifier: [
- { // Give all your Bio creatures +10 attack
- res: ATTACK,
- priority: 1,
- change: 10,
- filter: { creatureType: "Bio", owner: "owner" }
- }
- ]
- ## onEndOfTurn
- Only works on creatures.
- EFFECT, or array of EFFECT
- ## afterPlay
- Works on any card.
- EFFECT, or array of EFFECT
- # MODIFIER
- - res: ATTACK
- - priority: 1
- - change: 1
- - filter: { FILTER }
- # FILTER
- owner
- - owner, opponent, next, none, active, inactive
- zone
- - ZONE NAME
- creature
- - true
- creatureType
- - name of creatureType (String)
- # EFFECT
- print
- damage:
- - value: VALUE
- - target: TARGET
- heal: Same as damage, but heals instead
- summon:
- - count: VALUE
- - card: CARD NAME
- - who: ENTITY
- - where: ZONE NAME
- # INTEGER
- An integer value. Nothing else
- # VALUE
- Can be either an Integer, or an object such as `{ min: 3, max: 5 }`, or an object containing:
- {
- description: "Text describing the value",
- func: function (source, target) {
- return 42;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement