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:
JRHerlehy 2015-02-20 16:33:08 -08:00
parent 2f3a7c56d5
commit 41e690c27c
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}