mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Codestyle fix (#1797)
Warning: Dont change this PR as draft to make it testable DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
@@ -190,8 +190,8 @@ CastEnchantItemAction::CastEnchantItemAction(PlayerbotAI* botAI, std::string con
|
||||
|
||||
bool CastEnchantItemAction::isPossible()
|
||||
{
|
||||
// if (!CastSpellAction::isPossible()) {
|
||||
|
||||
// if (!CastSpellAction::isPossible())
|
||||
// {
|
||||
// botAI->TellMasterNoFacing("Impossible: " + spell);
|
||||
// return false;
|
||||
// }
|
||||
@@ -364,7 +364,8 @@ bool UseTrinketAction::UseTrinket(Item* item)
|
||||
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
|
||||
{
|
||||
const SpellEffectInfo& effectInfo = spellInfo->Effects[i];
|
||||
if (effectInfo.Effect == SPELL_EFFECT_APPLY_AURA) {
|
||||
if (effectInfo.Effect == SPELL_EFFECT_APPLY_AURA)
|
||||
{
|
||||
applyAura = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user