mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-24 14:06:22 +00:00
remove debug info
This commit is contained in:
@@ -145,9 +145,9 @@ bool CastEnchantItemAction::isPossible()
|
|||||||
|
|
||||||
uint32 spellId = AI_VALUE2(uint32, "spell id", spell);
|
uint32 spellId = AI_VALUE2(uint32, "spell id", spell);
|
||||||
|
|
||||||
bool ok = AI_VALUE2(Item*, "item for spell", spellId);
|
// bool ok = AI_VALUE2(Item*, "item for spell", spellId);
|
||||||
Item* item = AI_VALUE2(Item*, "item for spell", spellId);
|
// Item* item = AI_VALUE2(Item*, "item for spell", spellId);
|
||||||
botAI->TellMasterNoFacing("spell: " + spell + ", spell id: " + std::to_string(spellId) + " item for spell: " + std::to_string(ok));
|
// botAI->TellMasterNoFacing("spell: " + spell + ", spell id: " + std::to_string(spellId) + " item for spell: " + std::to_string(ok));
|
||||||
return spellId && AI_VALUE2(Item*, "item for spell", spellId);
|
return spellId && AI_VALUE2(Item*, "item for spell", spellId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,14 +60,14 @@ bool ComboPointsAvailableTrigger::IsActive()
|
|||||||
|
|
||||||
bool LoseAggroTrigger::IsActive()
|
bool LoseAggroTrigger::IsActive()
|
||||||
{
|
{
|
||||||
Unit* mt = AI_VALUE(Unit*, "main tank");
|
// Unit* mt = AI_VALUE(Unit*, "main tank");
|
||||||
if (mt) {
|
// if (mt) {
|
||||||
botAI->TellMasterNoFacing("Has aggro: " + std::to_string(AI_VALUE2(bool, "has aggro", "current target"))
|
// botAI->TellMasterNoFacing("Has aggro: " + std::to_string(AI_VALUE2(bool, "has aggro", "current target"))
|
||||||
+ " My main tank is: " + mt->GetName());
|
// + " My main tank is: " + mt->GetName());
|
||||||
} else {
|
// } else {
|
||||||
botAI->TellMasterNoFacing("Has aggro: " + std::to_string(AI_VALUE2(bool, "has aggro", "current target"))
|
// botAI->TellMasterNoFacing("Has aggro: " + std::to_string(AI_VALUE2(bool, "has aggro", "current target"))
|
||||||
+ " No main tank detected");
|
// + " No main tank detected");
|
||||||
}
|
// }
|
||||||
return !AI_VALUE2(bool, "has aggro", "current target");
|
return !AI_VALUE2(bool, "has aggro", "current target");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user