mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 10:12:17 +00:00
Change NPC scaling classification order check
This commit is contained in:
1 parent
cd3125ced0
commit
6739eea78b
1 file changed
+4
-4
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user