mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Add single target and zonewide dynamic and static scaling methods / commands
This commit is contained in:
+3
-5
@@ -3247,8 +3247,7 @@ void Mob::QuestJournalledSay(Client *QuestInitiator, const char *str)
|
||||
|
||||
const char *Mob::GetCleanName()
|
||||
{
|
||||
if(!strlen(clean_name))
|
||||
{
|
||||
if (!strlen(clean_name)) {
|
||||
CleanMobName(GetName(), clean_name);
|
||||
}
|
||||
|
||||
@@ -3650,11 +3649,10 @@ void Mob::SetEntityVariable(const char *id, const char *m_var)
|
||||
m_EntityVariables[id] = n_m_var;
|
||||
}
|
||||
|
||||
const char* Mob::GetEntityVariable(const char *id)
|
||||
const char *Mob::GetEntityVariable(const char *id)
|
||||
{
|
||||
auto iter = m_EntityVariables.find(id);
|
||||
if(iter != m_EntityVariables.end())
|
||||
{
|
||||
if (iter != m_EntityVariables.end()) {
|
||||
return iter->second.c_str();
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user