mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Merge pull request #5694 from ketsuban/unglued
Implement two Unglued cards
This commit is contained in:
commit
42f5847ba7
6 changed files with 205 additions and 0 deletions
|
|
@ -70,6 +70,16 @@ public class BeginningOfUpkeepTriggeredAbility extends TriggeredAbilityImpl {
|
|||
}
|
||||
}
|
||||
return yours;
|
||||
case NOT_YOU:
|
||||
boolean notYours = !event.getPlayerId().equals(this.controllerId);
|
||||
if (notYours && setTargetPointer) {
|
||||
if (getTargets().isEmpty()) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
effect.setTargetPointer(new FixedTarget(event.getPlayerId()));
|
||||
}
|
||||
}
|
||||
}
|
||||
return notYours;
|
||||
case OPPONENT:
|
||||
if (game.getPlayer(this.controllerId).hasOpponent(event.getPlayerId(), game)) {
|
||||
if (setTargetPointer && getTargets().isEmpty()) {
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@ public enum SubType {
|
|||
KOR("Kor", SubTypeSet.CreatureType),
|
||||
KRAKEN("Kraken", SubTypeSet.CreatureType),
|
||||
// L
|
||||
LADYOFPROPERETIQUETTE("Lady of Proper Etiquette", SubTypeSet.CreatureType, true), // Unglued
|
||||
LAMIA("Lamia", SubTypeSet.CreatureType),
|
||||
LAMMASU("Lammasu", SubTypeSet.CreatureType),
|
||||
LEECH("Leech", SubTypeSet.CreatureType),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue