forked from External/mage
Clash adjustments (#10616)
* adjust clash effect * Make clash not a singleton * Add unit test for Clash effect * fix test (skip init shuffling) * Fix CLASHED event flag logic and add to unit test * Additional test and comments * comments in GameEvent * param name typo
This commit is contained in:
parent
0d4c73b385
commit
ee29c38413
15 changed files with 187 additions and 67 deletions
|
|
@ -54,7 +54,7 @@ public class DoIfClashWonEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
if (chooseUseText == null || player.chooseUse(executingEffect.getOutcome(), message, source, game)) {
|
||||
if (ClashEffect.getInstance().apply(game, source)) {
|
||||
if (new ClashEffect().apply(game, source)) {
|
||||
if (setTargetPointerToClashedOpponent) {
|
||||
Object opponent = getValue("clashOpponent");
|
||||
if (opponent instanceof Player) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue