mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
- Added some ROE cards.
This commit is contained in:
parent
f0c5cb3eef
commit
0db5efa7ad
1 changed files with 4 additions and 6 deletions
|
@ -92,20 +92,18 @@ class ArrogantBloodlordTriggeredAbility extends TriggeredAbilityImpl<ArrogantBlo
|
||||||
@Override
|
@Override
|
||||||
public boolean checkTrigger(GameEvent event, Game game) {
|
public boolean checkTrigger(GameEvent event, Game game) {
|
||||||
if (event.getType() == GameEvent.EventType.BLOCKER_DECLARED) {
|
if (event.getType() == GameEvent.EventType.BLOCKER_DECLARED) {
|
||||||
Permanent blocker = game.getPermanent(event.getTargetId());
|
Permanent blocker = game.getPermanent(event.getSourceId());
|
||||||
if (blocker != null && blocker.getPower().getValue() < 2) {
|
Permanent arrogantBloodlord = game.getPermanent(sourceId);
|
||||||
|
if (blocker != null && blocker != arrogantBloodlord && blocker.getPower().getValue() < 2) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (blocker == game.getPermanent(event.getSourceId())) {
|
if (blocker != null && blocker == arrogantBloodlord && game.getPermanent(event.getTargetId()).getPower().getValue() < 2) {
|
||||||
if (blocker != null && game.getPermanent(event.getTargetId()).getPower().getValue() < 2) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRule() {
|
public String getRule() {
|
||||||
|
|
Loading…
Reference in a new issue