mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* Kess, Dissident Mage - Fixed that it did not allow split cards from graveyard. Fixed some other problems with the card.
This commit is contained in:
parent
161c4ee1dd
commit
50cd0af601
3 changed files with 51 additions and 96 deletions
|
|
@ -494,7 +494,11 @@ public class ContinuousEffects implements Serializable {
|
|||
if (affectedAbility != null && affectedAbility.getSourceObject(game) instanceof SplitCardHalf) {
|
||||
idToCheck = ((SplitCardHalf) affectedAbility.getSourceObject(game)).getParentCard().getId();
|
||||
} else {
|
||||
idToCheck = objectId;
|
||||
if (game.getObject(objectId) instanceof SplitCardHalf) {
|
||||
idToCheck = ((SplitCardHalf) game.getObject(objectId)).getParentCard().getId();
|
||||
} else {
|
||||
idToCheck = objectId;
|
||||
}
|
||||
}
|
||||
for (AsThoughEffect effect : asThoughEffectsList) {
|
||||
Set<Ability> abilities = asThoughEffectsMap.get(type).getAbility(effect.getId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue