- Converted Stuffy Doll to script (note that the choice of player is still not implemented).

This commit is contained in:
Sloth
2011-10-20 18:24:05 +00:00
parent 634e6b34c5
commit d6f298b37b
2 changed files with 4 additions and 18 deletions

View File

@@ -599,23 +599,6 @@ public final class GameActionUtil {
return;
}
if (affected.getName().equals("Stuffy Doll")) {
final Player opponent = affected.getOwner().getOpponent();
final int stuffyDamage = damage;
SpellAbility ability = new Ability(affected, "0") {
@Override
public void resolve() {
opponent.addDamage(stuffyDamage, affected);
}
};
StringBuilder sb = new StringBuilder();
sb.append(affected.getName() + " - Deals ").append(stuffyDamage).append(" damage to ").append(opponent);
ability.setStackDescription(sb.toString());
AllZone.getStack().addSimultaneousStackEntry(ability);
}
if (affected.hasKeyword("Whenever CARDNAME is dealt damage, put a +1/+1 counter on it.")) {
Ability ability2 = new Ability(affected, "0") {
@Override