mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix estimated life time with dead group member
This commit is contained in:
@@ -36,7 +36,7 @@ float EstimatedGroupDpsValue::Calculate()
|
|||||||
if (member == bot) // calculated
|
if (member == bot) // calculated
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!member || !member->IsInWorld())
|
if (!member || !member->IsInWorld() || !member->IsAlive())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (member->GetMapId() != bot->GetMapId())
|
if (member->GetMapId() != bot->GetMapId())
|
||||||
|
|||||||
Reference in New Issue
Block a user