public static int directBlowBADamage(double damage,int damageType,BattleArmor target){
switch (damageType) {
case WeaponType.WEAPON_BURST_1D6:
    damage=Compute.d6();
  break;
case WeaponType.WEAPON_BURST_3D6:
damage=Compute.d6(3);
break;
case WeaponType.WEAPON_PLASMA:
if (!target.isFireResistant()) {
damage=1 + Compute.d6(1);
}
break;
}
damage=Math.ceil(damage);
return (int)damage;
}

public static int directBlowBADamage ( double damage , int damageType , BattleArmor target ) { switch ( damageType ) { case WeaponType . WEAPON_BURST_1D6 : damage = Compute . d6 ( ) ; break ; case WeaponType . WEAPON_BURST_3D6 : damage = Compute . d6 ( 3 ) ; break ; case WeaponType . WEAPON_PLASMA : if ( ! target . isFireResistant ( ) ) { damage = 1 + Compute . d6 ( 1 ) ; } break ; } damage = Math . ceil ( damage ) ; return ( int ) damage ; }
returns how much damage a weapon will do against against a battlearmor target if the battlearmor vs battlearmor rules on to pg 109 are in effect .
