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