Scripts/Commands: Small QoL adjustments
This commit is contained in:
1 parent
3ba6ba19a4
commit
e4eb3c841c
12 files changed
+912
-65
No files matched your search
@@ -831,7 +831,7 @@ public:
|
||||
if (Unit* unit = ref->GetSource()->GetOwner())
|
||||
{
|
||||
++count;
|
||||
handler->PSendSysMessage(" %u. %s (guid %u) - threat %f", count, unit->GetName().c_str(), unit->GetGUID().GetCounter(), ref->getThreat());
|
||||
handler->PSendSysMessage(" %u. %s (current guid %u, DB guid %u) - threat %f", count, unit->GetName().c_str(), unit->GetGUID().GetCounter(), unit->GetTypeId() == TYPEID_UNIT ? unit->ToCreature()->GetSpawnId() : 0, ref->getThreat());
|
||||
}
|
||||
ref = ref->next();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user