convert Glint-Eye Nephilim and Cold-Eyed Selkie to triggers

This commit is contained in:
jendave
2011-08-06 19:43:27 +00:00
parent 57b0e15d1d
commit 5ad74b77d7
3 changed files with 8 additions and 25 deletions

View File

@@ -3129,7 +3129,6 @@ public class GameActionUtil {
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("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("Treva, the Renewer")) playerCombatDamage_Treva(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) {
final Player player = c.getController();
final Card crd = c;