From 38db0cebd4de3d27cc32359ddc1be8254b8d2dd2 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 20:09:53 +0000 Subject: [PATCH] retire keyword "Whenever this creature attacks, put a +1/+1 counter on it." --- src/forge/CombatUtil.java | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/forge/CombatUtil.java b/src/forge/CombatUtil.java index d96a76ace52..48a19863708 100644 --- a/src/forge/CombatUtil.java +++ b/src/forge/CombatUtil.java @@ -1258,28 +1258,6 @@ public class CombatUtil { } }//Fervent Charge - //Raging Ravine, other future creats? - if(c.getKeyword().contains("Whenever this creature attacks, put a +1/+1 counter on it.")) { - ArrayList kw = c.getKeyword(); - int count = 0; - for(String s:kw) { - if(s.equals("Whenever this creature attacks, put a +1/+1 counter on it.")) count++; - } - final Card crd = c; - Ability ability = new Ability(c, "0") { - @Override - public void resolve() { - crd.addCounter(Counters.P1P1, 1); - } - }; - StringBuilder sb = new StringBuilder(); - sb.append(c).append(" - Whenever this creature attacks, put a +1/+1 counter on it."); - ability.setStackDescription(sb.toString()); - - for(int i = 0; i < count; i++) - AllZone.Stack.add(ability); - }//Raging Ravine - //Mijae Djinn if(c.getName().equals("Mijae Djinn")) { if( GameActionUtil.flipACoin(c.getController(), c)) {