private void SpecCardSound(int numberplayer, int numbercard)//Реализация звуков прибития специализации { if (numberplayer == 1) { if (CurrentGame.FirstEnemyHand[numbercard].Specialization == 1 && battle.Specialization == 3) { Sound.ArcherSound(); } else if (CurrentGame.FirstEnemyHand[numbercard].Specialization == 2 && battle.Specialization == 1) { Sound.MagicianSound(); } else if (CurrentGame.FirstEnemyHand[numbercard].Specialization == 3 && battle.Specialization == 2) { Sound.WarriorSound(); } } else if (numberplayer == 2) { if (CurrentGame.SecondEnemyHand[numbercard].Specialization == 1 && battle.Specialization == 3) { Sound.ArcherSound(); } else if (CurrentGame.SecondEnemyHand[numbercard].Specialization == 2 && battle.Specialization == 1) { Sound.MagicianSound(); } else if (CurrentGame.SecondEnemyHand[numbercard].Specialization == 3 && battle.Specialization == 2) { Sound.WarriorSound(); } } else if (numberplayer == 3) { if (CurrentGame.ThirdEnemyHand[numbercard].Specialization == 1 && battle.Specialization == 3) { Sound.ArcherSound(); } else if (CurrentGame.ThirdEnemyHand[numbercard].Specialization == 2 && battle.Specialization == 1) { Sound.MagicianSound(); } else if (CurrentGame.ThirdEnemyHand[numbercard].Specialization == 3 && battle.Specialization == 2) { Sound.WarriorSound(); } } }
private void SoundSpecialization()//Звуки при пробитии специалзации { if (Specialization == 1 && BattleCard.Specialization == 3) { Sound.ArcherSound(); } else if (Specialization == 2 && BattleCard.Specialization == 1) { Sound.MagicianSound(); } else if (Specialization == 3 && BattleCard.Specialization == 2) { Sound.WarriorSound(); } }