mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 12:49:39 -08: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…
Add table
Add a link
Reference in a new issue