damage = leaa.getDamageFor(ae);
damage = LayExplosivesAttackAction.getDamageFor(ae);
    private PhysicalResult preTreatPhysicalAttack(AbstractAttackAction aaa) {        final Entity ae = game.getEntity(aaa.getEntityId());        int damage = 0;        PhysicalResult pr = new PhysicalResult();        ToHitData toHit = new ToHitData();        pr.roll = Compute.d6(2);        pr.aaa = aaa;        if (aaa instanceof BrushOffAttackAction) {            BrushOffAttackAction baa = (BrushOffAttackAction)aaa;            int arm = baa.getArm();            baa.setArm(BrushOffAttackAction.LEFT);            toHit = BrushOffAttackAction.toHit(game, aaa.getEntityId(), aaa.getTarget(game), BrushOffAttackAction.LEFT);            baa.setArm(BrushOffAttackAction.RIGHT);            pr.toHitRight = BrushOffAttackAction.toHit(game, aaa.getEntityId(), aaa.getTarget(game), BrushOffAttackAction.RIGHT);            damage = BrushOffAttackAction.getDamageFor(ae, BrushOffAttackAction.LEFT);            pr.damageRight = BrushOffAttackAction.getDamageFor(ae, BrushOffAttackAction.RIGHT);            baa.setArm(arm);            pr.rollRight = Compute.d6(2);        } else if (aaa instanceof ChargeAttackAction) {            ChargeAttackAction caa = (ChargeAttackAction)aaa;            toHit = caa.toHit(game);            damage = ChargeAttackAction.getDamageFor(ae);        } else if (aaa instanceof ClubAttackAction) {            ClubAttackAction caa = (ClubAttackAction)aaa;            toHit = caa.toHit(game);            damage = ClubAttackAction.getDamageFor(ae, caa.getClub());        } else if (aaa instanceof DfaAttackAction) {            DfaAttackAction daa = (DfaAttackAction)aaa;            toHit = daa.toHit(game);            damage = DfaAttackAction.getDamageFor(ae);        } else if (aaa instanceof KickAttackAction) {            KickAttackAction kaa = (KickAttackAction)aaa;            toHit = kaa.toHit(game);            damage = KickAttackAction.getDamageFor(ae, kaa.getLeg());        } else if (aaa instanceof ProtomechPhysicalAttackAction) {            ProtomechPhysicalAttackAction paa = (ProtomechPhysicalAttackAction)aaa;            toHit = paa.toHit(game);            damage = ProtomechPhysicalAttackAction.getDamageFor(ae);        } else if (aaa instanceof PunchAttackAction) {            PunchAttackAction paa = (PunchAttackAction)aaa;            int arm = paa.getArm();            int damageRight = 0;            paa.setArm(PunchAttackAction.LEFT);            toHit = paa.toHit(game);            paa.setArm(PunchAttackAction.RIGHT);            ToHitData toHitRight = paa.toHit(game);            damage = PunchAttackAction.getDamageFor(ae, PunchAttackAction.LEFT);            damageRight = PunchAttackAction.getDamageFor(ae, PunchAttackAction.RIGHT);            paa.setArm(arm);            // If we're punching while prone (at a Tank,            // duh), then we can only use one arm.            if ( ae.isProne() ) {                double oddsLeft = Compute.oddsAbove(toHit.getValue());                double oddsRight = Compute.oddsAbove(toHitRight.getValue());                // Use the best attack.                if (  oddsLeft*damage > oddsRight*damageRight ) {                    paa.setArm(PunchAttackAction.LEFT);                } else paa.setArm(PunchAttackAction.RIGHT);            }            pr.damageRight = damageRight;            pr.toHitRight = toHitRight;            pr.rollRight = Compute.d6(2);        } else if (aaa instanceof PushAttackAction) {            PushAttackAction paa = (PushAttackAction)aaa;            toHit = paa.toHit(game);        } else if (aaa instanceof LayExplosivesAttackAction) {            LayExplosivesAttackAction leaa = (LayExplosivesAttackAction)aaa;            toHit = leaa.toHit(game);            damage = leaa.getDamageFor(ae);        } else if (aaa instanceof ThrashAttackAction) {            ThrashAttackAction taa = (ThrashAttackAction)aaa;            toHit = taa.toHit(game);            damage = ThrashAttackAction.getDamageFor(ae);        }        pr.toHit = toHit;        pr.damage = damage;        return pr;    }