mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used. 2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used
This commit is contained in:
parent
1206026b44
commit
bf5e1908d6
6 changed files with 6 additions and 22 deletions
|
|
@ -49,7 +49,7 @@ bool ChatHandler::HandleNpcSayCommand(const char* args)
|
|||
return false;
|
||||
}
|
||||
|
||||
pCreature->Say(args, LANG_UNIVERSAL, 0);
|
||||
pCreature->MonsterSay(args, LANG_UNIVERSAL, 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ bool ChatHandler::HandleNpcYellCommand(const char* args)
|
|||
return false;
|
||||
}
|
||||
|
||||
pCreature->Yell(args, LANG_UNIVERSAL, 0);
|
||||
pCreature->MonsterYell(args, LANG_UNIVERSAL, 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ bool ChatHandler::HandleNpcTextEmoteCommand(const char* args)
|
|||
return false;
|
||||
}
|
||||
|
||||
pCreature->TextEmote(args, 0);
|
||||
pCreature->MonsterTextEmote(args, 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ bool ChatHandler::HandleNpcWhisperCommand(const char* args)
|
|||
if (HasLowerSecurity(objmgr.GetPlayer(receiver_guid), 0))
|
||||
return false;
|
||||
|
||||
pCreature->Whisper(text,receiver_guid);
|
||||
pCreature->MonsterWhisper(text,receiver_guid);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue