mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fix for Totem Armor
This commit is contained in:
@@ -2156,22 +2156,9 @@ public class GameAction {
|
|||||||
crd = list.get(0);
|
crd = list.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
final Card card = c;
|
c.setDamage(0);
|
||||||
Ability_Static ability = new Ability_Static(crd, "0")
|
destroy(crd);
|
||||||
{
|
System.out.println("Totem armor destroyed instead of original card");
|
||||||
public void resolve()
|
|
||||||
{
|
|
||||||
destroy(crd);
|
|
||||||
card.setDamage(0);
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.append(crd).append(" - Totem armor: destroy this aura.");
|
|
||||||
ability.setStackDescription(sb.toString());
|
|
||||||
|
|
||||||
AllZone.Stack.add(ability);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}//totem armor
|
}//totem armor
|
||||||
|
|||||||
Reference in New Issue
Block a user