Fix estimated life time with dead group member

This commit is contained in:
Yunfan Li
2025-01-19 13:56:40 +08:00
parent 462e99ec30
commit f096975f90

View File

@@ -36,7 +36,7 @@ float EstimatedGroupDpsValue::Calculate()
if (member == bot) // calculated
continue;
if (!member || !member->IsInWorld())
if (!member || !member->IsInWorld() || !member->IsAlive())
continue;
if (member->GetMapId() != bot->GetMapId())