Skip to content

Commit

Permalink
Power Keepers: Sidney's Stadium (82): Fix onPlay (#1168)
Browse files Browse the repository at this point in the history
Should also remove the statuses when first put in play.
  • Loading branch information
flagrama authored Feb 26, 2021
1 parent 05e920c commit f18179a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tcgwars/logic/impl/gen3/PowerKeepers.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1874,6 +1874,14 @@ public enum PowerKeepers implements LogicCardInfo {
}
}
}
if (my.active.types.contains(D) && my.active.specialConditions) {
my.active.specialConditions.removeAll([ASLEEP, CONFUSED, PARALYZED])
bc "${my.owner.getPlayerUsername(bg)}'s $my.active was cured of status effects due to $thisCard"
}
if (opp.active.types.contains(D) && opp.active.specialConditions) {
opp.active.specialConditions.removeAll([ASLEEP, CONFUSED, PARALYZED])
bc "${opp.owner.getPlayerUsername(bg)}'s $opp.active was cured of status effects due to $thisCard"
}
}
onRemoveFromPlay {
eff.unregister()
Expand Down

0 comments on commit f18179a

Please sign in to comment.