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