mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Change NPC scaling classification order check
This commit is contained in:
parent
cd3125ced0
commit
6739eea78b
@ -416,14 +416,14 @@ int8 NpcScaleManager::GetNPCScalingType(NPC *&npc)
|
|||||||
{
|
{
|
||||||
std::string npc_name = npc->GetName();
|
std::string npc_name = npc->GetName();
|
||||||
|
|
||||||
if (npc->IsRareSpawn() || npc_name.find('#') != std::string::npos || isupper(npc_name[0])) {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (npc->IsRaidTarget()) {
|
if (npc->IsRaidTarget()) {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (npc->IsRareSpawn() || npc_name.find('#') != std::string::npos || isupper(npc_name[0])) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user