* Ludevic, Necro-Alchemist - fixed that it draws on controller's damage;

This commit is contained in:
Oleg Agafonov 2019-12-25 22:32:10 +04:00
parent 1977e7f986
commit 04cceb9b62

View file

@ -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;
}
}