Scripts/Commands: Small QoL adjustments

This commit is contained in:
Aokromes committed 2016-05-15 07:13:07 +02:00
1 parent 3ba6ba19a4
commit e4eb3c841c
12 files changed
+912 -65

No files matched your search

+1 -1
View File
@@ -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();
}