Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. - ruleTrigger:
  2. primary: start
  3. player: each player
  4. action: {}
  5. target: {}
  6. effectComplete:
  7. primary: trigger next effect
  8. - effectName: sourceArr
  9. action:
  10. primary: assign variable
  11. target:
  12. primary: card
  13. criteria:
  14. player: owner
  15. type: hero
  16. cardProperty: source
  17. effectComplete:
  18. primary: trigger next effect
  19. - effectName: card
  20. action:
  21. primary: each
  22. target:
  23. primary: card
  24. criteria:
  25. player: owner
  26. type:
  27. - unit
  28. - event
  29. - equip
  30. - action:
  31. primary: verify target
  32. comparisonOperators: is falsey
  33. verifyTrue: $nothing
  34. target:
  35. primary: card
  36. criteria:
  37. passing: $card
  38. cardProperty: reqSource
  39. effectComplete:
  40. primary: trigger next effect
  41. depth: 1
  42. - effectName: reqSource
  43. action:
  44. primary: each
  45. target:
  46. primary: card
  47. criteria:
  48. passing: $card
  49. cardProperty: reqSource
  50. depth: 1
  51. - action:
  52. primary: verify target
  53. comparisonOperators: is falsey
  54. verifyTrue: $nothing
  55. target:
  56. primary: value
  57. value: $reqSource
  58. effectComplete:
  59. primary: trigger next effect
  60. depth: 1
  61. - effectName: source
  62. action:
  63. primary: each
  64. target:
  65. primary: value
  66. value: $sourceArr
  67. effectComplete:
  68. primary: trigger next block
  69. depth: 2
  70. - effectName: checkIfMatch
  71. action:
  72. primary: verify target
  73. comparisonOperators: ~=
  74. value: $source
  75. target:
  76. primary: card
  77. criteria:
  78. passing: $card
  79. cardProperty: reqSource
  80. depth: 3
  81. - action:
  82. primary: modify stats
  83. operation: =
  84. magnitude: '1'
  85. undo:
  86. primary: permanent
  87. target:
  88. primary: card
  89. criteria:
  90. passing: $card
  91. cardProperty: deckValidation
  92. depth: 4
  93. - effectName: checkIfCardFails
  94. action:
  95. primary: verify target
  96. comparisonOperators: '!='
  97. value: '1'
  98. target:
  99. primary: card
  100. criteria:
  101. passing: $card
  102. cardProperty: deckValidation
  103. depth: 2
  104. - action:
  105. primary: send event message
  106. text: Your opponent has illegal cards. You win.
  107. player: opponent
  108. target: {}
  109. effectComplete:
  110. primary: trigger next effect
  111. depth: 3
  112. - action:
  113. primary: send event message
  114. text: >-
  115. You have cards that aren't allowed in this deck. Please double check your
  116. deck.
  117. player: owner
  118. target: {}
  119. effectComplete:
  120. primary: trigger next effect
  121. depth: 3
  122. - action:
  123. primary: 'ui: wait'
  124. waitTime: '3'
  125. target: {}
  126. effectComplete:
  127. primary: trigger next effect
  128. depth: 3
  129. - action:
  130. primary: win match
  131. endGameOptions: ''
  132. target:
  133. primary: opponent
  134. depth: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement