mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 02:40:28 +00:00
facing to & reach party member to resurrect
This commit is contained in:
@@ -48,5 +48,5 @@ NextAction** CastRebirthAction::getPrerequisites()
|
||||
|
||||
bool CastRebirthAction::isUseful()
|
||||
{
|
||||
return AI_VALUE2(float, "distance", GetTargetName()) <= sPlayerbotAIConfig->spellDistance;
|
||||
return CastSpellAction::isUseful() && AI_VALUE2(float, "distance", GetTargetName()) <= sPlayerbotAIConfig->spellDistance;
|
||||
}
|
||||
Reference in New Issue
Block a user