mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +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,15 +92,13 @@ class ArrogantBloodlordTriggeredAbility extends TriggeredAbilityImpl<ArrogantBlo
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.BLOCKER_DECLARED) {
|
||||
Permanent blocker = game.getPermanent(event.getTargetId());
|
||||
if (blocker != null && blocker.getPower().getValue() < 2) {
|
||||
Permanent blocker = game.getPermanent(event.getSourceId());
|
||||
Permanent arrogantBloodlord = game.getPermanent(sourceId);
|
||||
if (blocker != null && blocker != arrogantBloodlord && blocker.getPower().getValue() < 2) {
|
||||
return true;
|
||||
}
|
||||
if (blocker == game.getPermanent(event.getSourceId())) {
|
||||
if (blocker != null && game.getPermanent(event.getTargetId()).getPower().getValue() < 2) {
|
||||
if (blocker != null && blocker == arrogantBloodlord && game.getPermanent(event.getTargetId()).getPower().getValue() < 2) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue