mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
minor ScepterOfEmpires fix
This commit is contained in:
parent
b1efc0d1bf
commit
c3c8d587fb
1 changed files with 1 additions and 5 deletions
|
@ -94,11 +94,7 @@ class ScepterOfEmpiresEffect extends OneShotEffect<ScepterOfEmpiresEffect> {
|
|||
}
|
||||
|
||||
int amount = throne && crown ? 3 : 1;
|
||||
Permanent permanent = game.getPermanent(targetPointer.getFirst(source));
|
||||
if (permanent != null) {
|
||||
permanent.damage(amount, source.getSourceId(), game, true, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
Player player = game.getPlayer(targetPointer.getFirst(source));
|
||||
if (player != null) {
|
||||
player.damage(amount, source.getSourceId(), game, false, true);
|
||||
|
|
Loading…
Reference in a new issue