mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Ludevic, Necro-Alchemist - fixed that it draws on controller's damage;
This commit is contained in:
parent
1977e7f986
commit
04cceb9b62
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ enum LudevicNecroAlchemistCondition implements Condition {
|
|||
PlayerLostLifeWatcher watcher = game.getState().getWatcher(PlayerLostLifeWatcher.class);
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null && watcher != null) {
|
||||
for (UUID playerId : controller.getInRange()) {
|
||||
if (watcher.getLifeLost(playerId) > 0) {
|
||||
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||
if (!playerId.equals(controller.getId()) && watcher.getLifeLost(playerId) > 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue