mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Added Gaze of the Gorgon.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -3343,6 +3343,7 @@ res/cardsfolder/g/gavony_township.txt -text
|
|||||||
res/cardsfolder/g/gaze_of_adamaro.txt svneol=native#text/plain
|
res/cardsfolder/g/gaze_of_adamaro.txt svneol=native#text/plain
|
||||||
res/cardsfolder/g/gaze_of_justice.txt svneol=native#text/plain
|
res/cardsfolder/g/gaze_of_justice.txt svneol=native#text/plain
|
||||||
res/cardsfolder/g/gaze_of_pain.txt svneol=native#text/plain
|
res/cardsfolder/g/gaze_of_pain.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/g/gaze_of_the_gorgon.txt -text svneol=unset#text/plain
|
||||||
res/cardsfolder/g/geist_honored_monk.txt -text
|
res/cardsfolder/g/geist_honored_monk.txt -text
|
||||||
res/cardsfolder/g/geist_of_saint_traft.txt -text
|
res/cardsfolder/g/geist_of_saint_traft.txt -text
|
||||||
res/cardsfolder/g/geistcatchers_rig.txt -text
|
res/cardsfolder/g/geistcatchers_rig.txt -text
|
||||||
|
|||||||
11
res/cardsfolder/g/gaze_of_the_gorgon.txt
Normal file
11
res/cardsfolder/g/gaze_of_the_gorgon.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Name:Gaze of the Gorgon
|
||||||
|
ManaCost:3 BG
|
||||||
|
Types:Instant
|
||||||
|
Text:no text
|
||||||
|
A:SP$ Regenerate | Cost$ 3 BG | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ TrigGorgonEffect | SpellDescription$ Regenerate target creature. At end of combat, destroy all creatures that blocked or were blocked by that creature this turn.
|
||||||
|
SVar:TrigGorgonEffect:DB$ Effect | Name$ Gaze of the Gorgon Effect | Triggers$ DelGorgonTrig | SVars$ TrigGorgonDestroy | RememberObjects$ Targeted
|
||||||
|
SVar:DelGorgonTrig:Mode$ Phase | Phase$ EndCombat | TriggerZones$ Battlefield | ValidPlayer$ Player | Execute$ TrigGorgonDestroy | TriggerDescription$ At end of combat, destroy all creatures that blocked or were blocked by that creature this turn.
|
||||||
|
SVar:TrigGorgonDestroy:AB$ DestroyAll | Cost$ 0 | ValidCards$ Creature.blockingHostRemembered,Creature.blockedByHostRemembered
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/gaze_of_the_gorgon.jpg
|
||||||
|
End
|
||||||
@@ -7115,6 +7115,26 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
if (!this.isBlocking(source)) {
|
if (!this.isBlocking(source)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (property.startsWith("blockingHostRemembered")) {
|
||||||
|
Card rememberedcard;
|
||||||
|
for (final Object o : source.getRemembered()) {
|
||||||
|
if (o instanceof Card) {
|
||||||
|
rememberedcard = (Card) o;
|
||||||
|
if (!this.isBlocking(rememberedcard)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (property.startsWith("blockedByHostRemembered")) {
|
||||||
|
Card rememberedcard;
|
||||||
|
for (final Object o : source.getRemembered()) {
|
||||||
|
if (o instanceof Card) {
|
||||||
|
rememberedcard = (Card) o;
|
||||||
|
if (!this.isBlockedBy(rememberedcard)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (property.startsWith("notblocking")) {
|
} else if (property.startsWith("notblocking")) {
|
||||||
if (this.isBlocking()) {
|
if (this.isBlocking()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user