mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 18:55:41 +00:00
miscs(triggers): spell range, fury warrior equip
This commit is contained in:
@@ -26,10 +26,10 @@ bool HasAggroValue::Calculate()
|
||||
return true;
|
||||
}
|
||||
|
||||
botAI->TellMaster("target: " + target->GetName() + " victim: " + victim->GetName());
|
||||
if (victim->ToPlayer() ) {
|
||||
botAI->TellMaster("victim is mt: " + std::to_string(botAI->IsMainTank(victim->ToPlayer())));
|
||||
}
|
||||
// botAI->TellMaster("target: " + target->GetName() + " victim: " + victim->GetName());
|
||||
// if (victim->ToPlayer() ) {
|
||||
// botAI->TellMaster("victim is mt: " + std::to_string(botAI->IsMainTank(victim->ToPlayer())));
|
||||
// }
|
||||
return false;
|
||||
// HostileReference *ref = bot->getHostileRefMgr().getFirst();
|
||||
// if (!ref)
|
||||
|
||||
@@ -25,7 +25,7 @@ class SpellEntryPredicate
|
||||
class PartyMemberValue : public UnitCalculatedValue
|
||||
{
|
||||
public:
|
||||
PartyMemberValue(PlayerbotAI* botAI, std::string const name = "party member") : UnitCalculatedValue(botAI, name) { }
|
||||
PartyMemberValue(PlayerbotAI* botAI, std::string const name = "party member", int checkInterval = 1) : UnitCalculatedValue(botAI, name, checkInterval) { }
|
||||
|
||||
bool IsTargetOfSpellCast(Player* target, SpellEntryPredicate& predicate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user