mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix comments
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user