Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - ruleTrigger:
- primary: start
- player: each player
- action: {}
- target: {}
- effectComplete:
- primary: trigger next effect
- - effectName: sourceArr
- action:
- primary: assign variable
- target:
- primary: card
- criteria:
- player: owner
- type: hero
- cardProperty: source
- effectComplete:
- primary: trigger next effect
- - effectName: card
- action:
- primary: each
- target:
- primary: card
- criteria:
- player: owner
- type:
- - unit
- - event
- - equip
- - action:
- primary: verify target
- comparisonOperators: is falsey
- verifyTrue: $nothing
- target:
- primary: card
- criteria:
- passing: $card
- cardProperty: reqSource
- effectComplete:
- primary: trigger next effect
- depth: 1
- - effectName: reqSource
- action:
- primary: each
- target:
- primary: card
- criteria:
- passing: $card
- cardProperty: reqSource
- depth: 1
- - action:
- primary: verify target
- comparisonOperators: is falsey
- verifyTrue: $nothing
- target:
- primary: value
- value: $reqSource
- effectComplete:
- primary: trigger next effect
- depth: 1
- - effectName: source
- action:
- primary: each
- target:
- primary: value
- value: $sourceArr
- effectComplete:
- primary: trigger next block
- depth: 2
- - effectName: checkIfMatch
- action:
- primary: verify target
- comparisonOperators: ~=
- value: $source
- target:
- primary: card
- criteria:
- passing: $card
- cardProperty: reqSource
- depth: 3
- - action:
- primary: modify stats
- operation: =
- magnitude: '1'
- undo:
- primary: permanent
- target:
- primary: card
- criteria:
- passing: $card
- cardProperty: deckValidation
- depth: 4
- - effectName: checkIfCardFails
- action:
- primary: verify target
- comparisonOperators: '!='
- value: '1'
- target:
- primary: card
- criteria:
- passing: $card
- cardProperty: deckValidation
- depth: 2
- - action:
- primary: send event message
- text: Your opponent has illegal cards. You win.
- player: opponent
- target: {}
- effectComplete:
- primary: trigger next effect
- depth: 3
- - action:
- primary: send event message
- text: >-
- You have cards that aren't allowed in this deck. Please double check your
- deck.
- player: owner
- target: {}
- effectComplete:
- primary: trigger next effect
- depth: 3
- - action:
- primary: 'ui: wait'
- waitTime: '3'
- target: {}
- effectComplete:
- primary: trigger next effect
- depth: 3
- - action:
- primary: win match
- endGameOptions: ''
- target:
- primary: opponent
- depth: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement