mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
better shaman totem strategy
This commit is contained in:
@@ -118,9 +118,9 @@ bool CastSpellAction::isUseful()
|
||||
CastMeleeSpellAction::CastMeleeSpellAction(PlayerbotAI* botAI, std::string const spell) : CastSpellAction(botAI, spell)
|
||||
{
|
||||
range = ATTACK_DISTANCE;
|
||||
Unit* target = AI_VALUE(Unit*, "current target");
|
||||
if (target)
|
||||
range = bot->GetMeleeRange(target);
|
||||
// Unit* target = AI_VALUE(Unit*, "current target");
|
||||
// if (target)
|
||||
// range = bot->GetMeleeRange(target);
|
||||
|
||||
// range = target->GetCombinedCombatReach();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user