mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +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;
|
DamagePlayerEvent damageEvent = (DamagePlayerEvent) event;
|
||||||
Permanent p = game.getPermanent(source.getSourceId());
|
Permanent p = game.getPermanent(source.getSourceId());
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
p.damage(damageEvent.getAmount(), event.getSourceId(), game, damageEvent.isCombatDamage(), damageEvent.isPreventable());
|
p.damage(damageEvent.getAmount(), event.getSourceId(), game, damageEvent.isCombatDamage(), damageEvent.isPreventable());l
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue