updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places.

This commit is contained in:
jendave
2011-08-06 09:26:37 +00:00
parent ad4d4e8127
commit 5fd34133e2
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ public class AbilityFactory_DealDamage {
}
} else {
tgtP = saMe.getTargetPlayer();
AllZone.GameAction.addDamage(tgtP, AF.getHostCard(), damage);
tgtP.addDamage(damage, AF.getHostCard());
if(AF.hasSubAbility())
CardFactoryUtil.doDrawBack(AF.getMapParams().get("SubAbility"), damage,

View File

@@ -147,7 +147,7 @@ public class PlayerZone_ComesIntoPlay extends DefaultPlayerZone {
SpellAbility ability = new Ability(source, "") {
@Override
public void resolve() {
AllZone.GameAction.addDamage(ankhLand.getController(), source, 2);
ankhLand.getController().addDamage(2, source);
}
};
ability.setStackDescription(source+" - deals 2 damage to "+ankhLand.getController());