Skip to content

Commit

Permalink
NPCBots: Druid: correct armor gain in different shapeshifts
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed May 24, 2024
1 parent 625ee27 commit 4bc5a0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server/game/AI/NpcBots/bot_ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2603,13 +2603,13 @@ void bot_ai::SetStats(bool force)
if (mylevel >= 15)
armor_mod += 0.1f;
//Survival of the Fittest
if (myclass == DRUID_BEAR_FORM && GetSpec() == BOT_SPEC_DRUID_FERAL)
armor_mod += 0.33f + (me->GetShapeshiftForm() == FORM_BEAR ? 1.8f : 3.7f);
if (myclass == DRUID_BEAR_FORM)
armor_mod += (GetSpec() == BOT_SPEC_DRUID_FERAL ? 0.33f : 0.0f) + (me->GetShapeshiftForm() == FORM_BEAR ? 1.8f : 3.7f);
//Moonkin Form innate
else if (myclass == DRUID_MOONKIN_FORM && GetSpec() == BOT_SPEC_DRUID_BALANCE)
else if (myclass == DRUID_MOONKIN_FORM)
armor_mod += 3.7f;
//Improved Tree Form
else if (myclass == DRUID_TREE_FORM && GetSpec() == BOT_SPEC_DRUID_RESTORATION)
else if (myclass == DRUID_TREE_FORM)
armor_mod += 2.0f;
//Improved Barkskin
//else if (myclass == DRUID_TRAVEL_FORM || GetBotStance() == BOT_STANCE_NONE)
Expand Down

0 comments on commit 4bc5a0f

Please sign in to comment.