mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
BreakingPoint error fix;
This commit is contained in:
parent
ee1902a2cc
commit
8ff50ece31
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class BreakingPointDestroyEffect extends OneShotEffect {
|
|||
if(spell != null){
|
||||
boolean destroyCreatures = true;
|
||||
for(UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)){
|
||||
Player player = game.getPlayer(uuid);
|
||||
Player player = game.getPlayer(playerId);
|
||||
if(player != null && player.chooseUse(Outcome.Detriment, "Have " + spell.getLogName() + " deal 6 damage to you?", game)){
|
||||
destroyCreatures = false;
|
||||
player.damage(6, source.getSourceId(), game, false, true);
|
||||
|
|
Loading…
Reference in a new issue