mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 14:57:18 +00:00
[Commands] Cleanup #findclass and #findrace Commands. (#2211)
- Cleanup messages and logic. - Add bitmasks to player race messages.
This commit is contained in:
1 parent
e6db71e31e
commit
123bc5f19a
4 files changed
+97
-68
No files matched your search
@@ -2854,6 +2854,16 @@ bool Mob::RandomizeFeatures(bool send_illusion, bool set_variables)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Mob::IsPlayerClass(uint16 in_class) {
|
||||
if (
|
||||
in_class >= WARRIOR &&
|
||||
in_class <= BERSERKER
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Mob::IsPlayerRace(uint16 in_race) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user