mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-12 00:18:37 +00:00
[Commands] Cleanup #findclass and #findrace Commands. (#2211)
- Cleanup messages and logic. - Add bitmasks to player race messages.
This commit is contained in:
@@ -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