mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user