Example #1
0
 private void ECTorpedoAttack(sortie_battle.torpedo api)
 {
     if (api == null)
     {
         return;
     }
     AllFriends.ZipEach(api.api_fdam.Skip(1), Delegates.SetDamage);
     AllEnemies.ZipEach(api.api_edam.Skip(1), Delegates.SetDamage);
     AllFriends.ZipEach(api.api_fydam.Skip(1), Delegates.SetGiveDamage);
     AllEnemies.ZipEach(api.api_eydam.Skip(1), Delegates.SetGiveDamage);
 }
Example #2
0
 private void TorpedoAttack(sortie_battle.torpedo api)
 {
     if (api == null)
     {
         return;
     }
     NightOrTorpedo.ArrayZip(api.api_fdam, 1, Delegates.SetDamage);
     AllEnemies.ZipEach(api.api_edam.Skip(1), Delegates.SetDamage);
     NightOrTorpedo.ArrayZip(api.api_fydam, 1, Delegates.SetGiveDamage);
     AllEnemies.ZipEach(api.api_eydam.Skip(1), Delegates.SetGiveDamage);
 }
Example #3
0
 private void SupportAttack(sortie_battle.support api)
 {
     if (api == null)
     {
         return;
     }
     AirBattle(api.api_support_airatack, true);
     if (api.api_support_hourai != null)
     {
         AllEnemies.ZipEach(api.api_support_hourai.api_damage.Skip(1), Delegates.SetDamage);
     }
 }