Fix comments

This commit is contained in:
Yunfan Li
2025-01-19 14:46:18 +08:00
parent 812702ea25
commit a0e955d14b
2 changed files with 3 additions and 3 deletions

View File

@@ -613,7 +613,7 @@ AiPlayerbot.EquipmentPersistenceLevel = 80
# Default: 1 (enabled) # Default: 1 (enabled)
AiPlayerbot.AutoUpgradeEquip = 1 AiPlayerbot.AutoUpgradeEquip = 1
# Only set wolf pets for hunters to have higher damage (0 = disabled, 1 = enabled for max-level, 2 = enabled) # Only set wolf pets for hunters to have higher damage (0 = disabled, 1 = enabled only for max-level, 2 = enabled)
# Default: 0 (disabled) # Default: 0 (disabled)
AiPlayerbot.HunterWolfPet = 0 AiPlayerbot.HunterWolfPet = 0

View File

@@ -2929,8 +2929,8 @@ bool PlayerbotAI::CanCastSpell(uint32 spellid, Unit* target, bool checkHasSpell,
Unit* oldSel = bot->GetSelectedUnit(); Unit* oldSel = bot->GetSelectedUnit();
// TRIGGERED_IGNORE_POWER_AND_REAGENT_COST flag for not calling CheckPower in check // TRIGGERED_IGNORE_POWER_AND_REAGENT_COST flag for not calling CheckPower in check
// which causes buff charge to be ineffectively reduced (e.g. dk freezing fog for howling blast) // which avoids buff charge to be ineffectively reduced (e.g. dk freezing fog for howling blast)
/// @TODO: Fix all calling on ApplySpellMod /// @TODO: Fix all calls to ApplySpellMod
Spell* spell = new Spell(bot, spellInfo, TRIGGERED_IGNORE_POWER_AND_REAGENT_COST); Spell* spell = new Spell(bot, spellInfo, TRIGGERED_IGNORE_POWER_AND_REAGENT_COST);
spell->m_targets.SetUnitTarget(target); spell->m_targets.SetUnitTarget(target);