mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
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…
Reference in a new issue