PvP: ignore Spirit of Redemption and pets

This commit is contained in:
郑佩茹
2022-09-26 11:08:20 -06:00
parent 0a62ee0041
commit bd909ca92a
4 changed files with 10 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ bool TellAttackersAction::Execute(Event event)
{
ThreatMgr* threatMgr = ref->GetSource();
Unit* unit = threatMgr->GetOwner();
float threat = ref->getThreat();
float threat = ref->GetThreat();
std::ostringstream out;
out << unit->GetName() << " (" << threat << ")";