mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed Kaya's Wrath only killing controlled creatures
This commit is contained in:
parent
8629977f14
commit
7c655abb58
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ class KayasWrathEffect extends OneShotEffect {
|
|||
StaticFilters.FILTER_PERMANENT_CREATURE,
|
||||
source.getControllerId(), source.getSourceId(), game
|
||||
)) {
|
||||
boolean isMine = permanent != null && permanent.getControllerId().equals(source.getControllerId());
|
||||
if (isMine && permanent.destroy(source.getSourceId(), game, false)) {
|
||||
boolean isMine = permanent != null && permanent.isControlledBy(source.getControllerId());
|
||||
if (permanent.destroy(source.getSourceId(), game, false) && isMine) {
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue