mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 12:49:39 -08:00
Test and fix for Issue#44: War Falcon - Attack condition does not work properly. Fixed changing controller for game state effects
This commit is contained in:
parent
335462c8c8
commit
f2229f9fd7
4 changed files with 62 additions and 8 deletions
|
|
@ -122,7 +122,7 @@ class DungeonGeistsEffect extends ReplacementEffectImpl<DungeonGeistsEffect> {
|
|||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.LOST_CONTROL) {
|
||||
if (event.getPlayerId().equals(source.getControllerId()) && event.getTargetId().equals(source.getSourceId())) {
|
||||
if (event.getTargetId().equals(source.getSourceId())) {
|
||||
this.used = true;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue