public static void PlayTorpedoVoice(ShipModel_Battle model) { PlayShipVoice(model, (!XorRandom.GetIs()) ? 16 : 15); }
public static void PlayMildCaseVoice(ShipModel_Battle model) { PlayShipVoice(model, (!XorRandom.GetIs()) ? 20 : 19); }
public static void PlayShellingVoive(ShipModel_Battle model) { int voiceNum = (model.ShipType == 7 || model.ShipType == 11 || model.ShipType == 18) ? ((!XorRandom.GetIs()) ? 18 : 16) : ((!XorRandom.GetIs()) ? 16 : 15); PlayShipVoice(model, voiceNum); }
public static void PlayAircraftCutInVoice(ShipModel_Battle model) { PlayShipVoice(model, (!XorRandom.GetIs()) ? 17 : 15); }
public static float GetBF11() { return((!XorRandom.GetIs()) ? -1f : 1f); }
public static int GetBI11() { return((!XorRandom.GetIs()) ? -1 : 1); }
public static void PlayShellingVoive(ShipModel_Battle model) { int voiceNum = (model.ShipType != 7 && model.ShipType != 11 && model.ShipType != 18) ? ((!XorRandom.GetIs()) ? 16 : 15) : ((!XorRandom.GetIs()) ? 18 : 16); ShipUtils.PlayShipVoice(model, voiceNum); }