mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Refactored method in EmpyrialArchAngel to not always return same value.
This commit is contained in:
parent
b64bf15c5f
commit
d0bde94ffe
1 changed files with 1 additions and 2 deletions
|
@ -90,8 +90,7 @@ class EmpyrialArchangelEffect extends ReplacementEffectImpl {
|
|||
DamagePlayerEvent damageEvent = (DamagePlayerEvent) event;
|
||||
Permanent p = game.getPermanent(source.getSourceId());
|
||||
if (p != null) {
|
||||
p.damage(damageEvent.getAmount(), event.getSourceId(), game, damageEvent.isCombatDamage(), damageEvent.isPreventable());
|
||||
return true;
|
||||
p.damage(damageEvent.getAmount(), event.getSourceId(), game, damageEvent.isCombatDamage(), damageEvent.isPreventable());l
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue