mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
- Fixed Fiendslayer Paladin.
This commit is contained in:
parent
951b944555
commit
333cb8eb52
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class FiendslayerPaladinEffect extends ReplacementEffectImpl<FiendslayerPaladinE
|
||||||
if (event.getType() == GameEvent.EventType.TARGET) {
|
if (event.getType() == GameEvent.EventType.TARGET) {
|
||||||
Card targetCard = game.getCard(event.getTargetId());
|
Card targetCard = game.getCard(event.getTargetId());
|
||||||
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
||||||
if (targetCard != null && stackObject != null) {
|
if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) {
|
||||||
if (stackObject.getColor().contains(ObjectColor.BLACK)
|
if (stackObject.getColor().contains(ObjectColor.BLACK)
|
||||||
|| stackObject.getColor().contains(ObjectColor.RED)) {
|
|| stackObject.getColor().contains(ObjectColor.RED)) {
|
||||||
if (!stackObject.getControllerId().equals(source.getControllerId())
|
if (!stackObject.getControllerId().equals(source.getControllerId())
|
||||||
|
|
Loading…
Reference in a new issue