Skip to content

Commit

Permalink
NPCBots: Remove double blank line. Comment redundant code in bot_cryp…
Browse files Browse the repository at this point in the history
…t_lord_ai.cpp

(cherry picked from commit cad74f678bab7e2743ccc1c01bf6167e7079f507)
  • Loading branch information
trickerer committed Aug 12, 2024
1 parent 14a7d89 commit 2a7b25d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/server/game/AI/NpcBots/bot_crypt_lord_ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ class crypt_lord_bot : public CreatureScript
}

CheckAttackState();
if (!me->IsAlive() || !mytar->IsAlive())
return;
//if (!me->IsAlive() || !mytar->IsAlive())
// return;
}

void ApplyClassDamageMultiplierMeleeSpell(int32& damage, SpellNonMeleeDamage& /*damageinfo*/, SpellInfo const* spellInfo, WeaponAttackType /*attackType*/, bool /*iscrit*/) const override
Expand Down
1 change: 0 additions & 1 deletion src/server/game/AI/NpcBots/botspell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,6 @@ void GenerateBotCustomSpells()
sinfo->Effects[0].DieSides = 0;
//51) END ENERGIZE VISUAL


//XX) FIXES
spellId = 48155; // Mind Flay (Rank 8)
botSpellInfoOverrides.insert({ spellId, *sSpellMgr->GetSpellInfo(spellId) });
Expand Down

0 comments on commit 2a7b25d

Please sign in to comment.