Examples of makeGlancingBlow()


Examples of megamek.common.HitData.makeGlancingBlow()

            r.add(te.getLocationAbbr(hit));
            r.add(roll);
            r.newlines = 1;
            addReport(r);
            if (roll >= 10) {
                hit.makeGlancingBlow();
                addReport(damageEntity(te, hit, 1, false, DamageType.NONE, true, false, throughFront));
            }
        }

        if (((MiscType) caa.getClub().getType()).hasSubType(MiscType.S_CHAIN_WHIP)
View Full Code Here

Examples of megamek.common.HitData.makeGlancingBlow()

            r.newlines = 0;
            vPhaseReport.addElement(r);
            missed = true;
        } else {
            if (bGlancing) {
                hit.makeGlancingBlow();
            }
            if ( bDirect && (!(target instanceof Infantry) || (target instanceof BattleArmor))){
                hit.makeDirectBlow(toHit.getMoS()/3);
            }
View Full Code Here

Examples of megamek.common.HitData.makeGlancingBlow()

            int critModifer = 0;


            if (bGlancing) {
                hit.makeGlancingBlow();
                critModifer -= 2;
            }else if ( bDirect ) {
                critModifer += toHit.getMoS()/3;

            }
View Full Code Here

Examples of megamek.common.HitData.makeGlancingBlow()

            r.newlines = 0;
            vPhaseReport.addElement(r);
            missed = true;
        } else {
            if (bGlancing) {
                hit.makeGlancingBlow();
            }
            vPhaseReport
                    .addAll(server.damageEntity(entityTarget, hit, nDamage,
                            false, ae.getSwarmTargetId() == entityTarget
                                    .getId() ? DamageType.IGNORE_PASSENGER
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.