mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
convert Glint-Eye Nephilim and Cold-Eyed Selkie to triggers
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
Name:Cold-Eyed Selkie
|
Name:Cold-Eyed Selkie
|
||||||
ManaCost:1 GU GU
|
ManaCost:1 GU GU
|
||||||
Types:Creature Merfolk Rogue
|
Types:Creature Merfolk Rogue
|
||||||
Text:Whenever Cold-Eyed Selkie deals combat damage to a player, you may draw that many cards.
|
Text:no text
|
||||||
PT:1/1
|
PT:1/1
|
||||||
K:Islandwalk
|
K:Islandwalk
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | CombatDamage$ True | Optional$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw that many cards.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ X
|
||||||
|
SVar:X:Count$TriggeredDamageAmount
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/cold_eyed_selkie.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/cold_eyed_selkie.jpg
|
||||||
SetInfo:EVE|Rare|http://magiccards.info/scans/en/eve/149.jpg
|
SetInfo:EVE|Rare|http://magiccards.info/scans/en/eve/149.jpg
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
Name:Glint-Eye Nephilim
|
Name:Glint-Eye Nephilim
|
||||||
ManaCost:U B R G
|
ManaCost:U B R G
|
||||||
Types:Creature Nephilim
|
Types:Creature Nephilim
|
||||||
Text:Whenever Glint-Eye Nephilim deals combat damage to a player, draw that many cards.
|
Text:no text
|
||||||
PT:2/2
|
PT:2/2
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw that many cards.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ X
|
||||||
|
SVar:X:Count$TriggeredDamageAmount
|
||||||
A:AB$Pump | Cost$ 1 Discard<1/Card> | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn.
|
A:AB$Pump | Cost$ 1 Discard<1/Card> | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn.
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/glint_eye_nephilim.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/glint_eye_nephilim.jpg
|
||||||
|
|||||||
@@ -3129,7 +3129,6 @@ public class GameActionUtil {
|
|||||||
else if(c.getName().equals("Scalpelexis")) playerCombatDamage_Scalpelexis(c);
|
else if(c.getName().equals("Scalpelexis")) playerCombatDamage_Scalpelexis(c);
|
||||||
else if(c.getName().equals("Augury Adept")) playerCombatDamage_Augury_Adept(c);
|
else if(c.getName().equals("Augury Adept")) playerCombatDamage_Augury_Adept(c);
|
||||||
else if(c.getName().equals("Spawnwrithe")) playerCombatDamage_Spawnwrithe(c);
|
else if(c.getName().equals("Spawnwrithe")) playerCombatDamage_Spawnwrithe(c);
|
||||||
else if(c.getName().equals("Glint-Eye Nephilim") || c.getName().equals("Cold-Eyed Selkie")) playerCombatDamage_Glint_Eye_Nephilim(c);
|
|
||||||
else if(c.getName().equals("Rootwater Thief")) playerCombatDamage_Rootwater_Thief(c);
|
else if(c.getName().equals("Rootwater Thief")) playerCombatDamage_Rootwater_Thief(c);
|
||||||
else if(c.getName().equals("Treva, the Renewer")) playerCombatDamage_Treva(c);
|
else if(c.getName().equals("Treva, the Renewer")) playerCombatDamage_Treva(c);
|
||||||
else if(c.getName().equals("Rith, the Awakener")) playerCombatDamage_Rith(c);
|
else if(c.getName().equals("Rith, the Awakener")) playerCombatDamage_Rith(c);
|
||||||
@@ -3411,28 +3410,6 @@ public class GameActionUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void playerCombatDamage_Glint_Eye_Nephilim(Card c) {
|
|
||||||
final Player player = c.getController();
|
|
||||||
final int power = c.getNetAttack();
|
|
||||||
|
|
||||||
if(power > 0) {
|
|
||||||
Ability ability2 = new Ability(c, "0") {
|
|
||||||
@Override
|
|
||||||
public void resolve() {
|
|
||||||
player.drawCards(power);
|
|
||||||
}
|
|
||||||
};// ability2
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.append(c.getName()).append(" - ").append(player);
|
|
||||||
sb.append(" draws ").append(power).append(" card(s).");
|
|
||||||
ability2.setStackDescription(sb.toString());
|
|
||||||
|
|
||||||
AllZone.Stack.add(ability2);
|
|
||||||
} // if
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void playerCombatDamage_Spawnwrithe(Card c) {
|
private static void playerCombatDamage_Spawnwrithe(Card c) {
|
||||||
final Player player = c.getController();
|
final Player player = c.getController();
|
||||||
final Card crd = c;
|
final Card crd = c;
|
||||||
|
|||||||
Reference in New Issue
Block a user