forked from External/mage
Changes to Tetsuo Umezawa and Bartel Runeaxe
Changed calls from using getCard to using event.getTargetId as per LevelX2 feedback. Tested against token copies of cards and works as intended.
This commit is contained in:
parent
2f3a7c56d5
commit
41e690c27c
2 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ class BartelRuneaxeEffect extends ContinuousRuleModifiyingEffectImpl {
|
|||
if (event.getType() == GameEvent.EventType.TARGET) {
|
||||
Card targetCard = game.getCard(event.getTargetId());
|
||||
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
||||
if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) {
|
||||
if (targetCard != null && stackObject != null && event.getTargetId().equals(source.getSourceId())) {
|
||||
if (stackObject.getSubtype().contains("Aura")) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ class TetsuoUmezawaEffect extends ContinuousRuleModifiyingEffectImpl {
|
|||
if (event.getType() == GameEvent.EventType.TARGET) {
|
||||
Card targetCard = game.getCard(event.getTargetId());
|
||||
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
||||
if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) {
|
||||
if (targetCard != null && stackObject != null && event.getTargetId().equals(source.getSourceId())) {
|
||||
if (stackObject.getSubtype().contains("Aura")) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue