mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Added Oriss, Samite Guardian
Added RememberedPlayerCtrl to isValid
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -6276,6 +6276,7 @@ res/cardsfolder/o/orims_cure.txt -text
|
||||
res/cardsfolder/o/orims_prayer.txt svneol=native#text/plain
|
||||
res/cardsfolder/o/orims_thunder.txt svneol=native#text/plain
|
||||
res/cardsfolder/o/orims_touch.txt -text svneol=unset#text/plain
|
||||
res/cardsfolder/o/oriss_samite_guardian.txt -text
|
||||
res/cardsfolder/o/ornate_kanzashi.txt -text
|
||||
res/cardsfolder/o/ornithopter.txt svneol=native#text/plain
|
||||
res/cardsfolder/o/orochi_eggwatcher_shidako_broodmistress.txt -text
|
||||
|
||||
15
res/cardsfolder/o/oriss_samite_guardian.txt
Normal file
15
res/cardsfolder/o/oriss_samite_guardian.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Name:Oriss, Samite Guardian
|
||||
ManaCost:1 W W
|
||||
Types:Legendary Creature Human Cleric
|
||||
Text:no text
|
||||
PT:1/3
|
||||
A:AB$ Pump | Cost$ T | KW$ HIDDEN Prevent all damage that would be dealt to CARDNAME. | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Prevent all damage that would be dealt to target creature this turn.
|
||||
A:AB$ Effect | Cost$ Discard<1/Card.namedOriss, Samite Guardian> | CostDesc$ Grandeur - Discard another card named CARDNAME:| Name$ Oriss Effect | IsCurse$ True | StaticAbilities$ CantBeCast,CantAttack | ValidTgts$ Player | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SpellDescription$ Target player can't cast spells this turn, and creatures that player controls can't attack this turn.
|
||||
SVar:CantBeCast:Mode$ CantBeCast | ValidCard$ Card | Caster$ Player.IsRemembered | Description$ Targeted player can't cast spells this turn.
|
||||
SVar:CantAttack:Mode$ Continuous | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Creatures targeted player controls can't attack this turn.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/oriss_samite_guardian.jpg
|
||||
SetInfo:FUT|Rare|http://magiccards.info/scans/fut/en/28.jpg
|
||||
Oracle:{T}: Prevent all damage that would be dealt to target creature this turn.\nGrandeur - Discard another card named Oriss, Samite Guardian: Target player can't cast spells this turn, and creatures that player controls can't attack this turn.
|
||||
End
|
||||
@@ -6766,6 +6766,13 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
} else { // source not enchanting a player
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("RememberedPlayerCtrl")) {
|
||||
final Object o = source.getRemembered();
|
||||
if (o instanceof Player) {
|
||||
if (!this.getController().isPlayer((Player) o)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else if (property.startsWith("YouOwn")) {
|
||||
if (!this.getOwner().isPlayer(sourceController)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user