Exemple #1
0
 public void PerformSpeech(BossSpawnAbilities key)
 {
     if (!string.IsNullOrEmpty(key.Speech))
     {
         _unit.Say(key.Speech, ChatLogFilters.CHATLOGFILTERS_SHOUT);
     }
 }
Exemple #2
0
 public void PerformSound(BossSpawnAbilities key)
 {
     if (!string.IsNullOrEmpty(key.Sound))
     {
         foreach (var plr in GetClosePlayers(300))
         {
             plr.PlaySound(Convert.ToUInt16(key.Sound));
         }
     }
 }