mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +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);
|
PlayerLostLifeWatcher watcher = game.getState().getWatcher(PlayerLostLifeWatcher.class);
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
if (controller != null && watcher != null) {
|
if (controller != null && watcher != null) {
|
||||||
for (UUID playerId : controller.getInRange()) {
|
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||||
if (watcher.getLifeLost(playerId) > 0) {
|
if (!playerId.equals(controller.getId()) && watcher.getLifeLost(playerId) > 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue