From 18d740453fcb7e9b457ff3638895b3e36554a911 Mon Sep 17 00:00:00 2001 From: Dinkledork <118951051+Day36512@users.noreply.github.com> Date: Sat, 23 May 2026 00:53:23 -0600 Subject: [PATCH] NPCBots: Add bonus damage calculations for shaman spells (#34) * Add bonus damage calculations for shaman spells * Refactor bonus damage calculations for shaman AI --- src/server/game/AI/NpcBots/bot_shaman_ai.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/game/AI/NpcBots/bot_shaman_ai.cpp b/src/server/game/AI/NpcBots/bot_shaman_ai.cpp index ec8eaa281..af1cab8d7 100644 --- a/src/server/game/AI/NpcBots/bot_shaman_ai.cpp +++ b/src/server/game/AI/NpcBots/bot_shaman_ai.cpp @@ -1510,6 +1510,12 @@ public: //Call of Flame (part 2): 6% bonus damage for Lava burst if (lvl >= 15 && spellId == GetSpell(LAVA_BURST_1)) pctbonus += 0.06f; + //Glyph of Lightning Bolt: 4% bonus damage for Lightning Bolt + if ((GetSpec() == BOT_SPEC_SHAMAN_ELEMENTAL) && lvl >= 15 && spellId == GetSpell(LIGHTNING_BOLT_1)) + pctbonus += 0.04f; + //Glyph of Lava: 10% bonus damage for Lava Burst + if ((GetSpec() == BOT_SPEC_SHAMAN_ELEMENTAL) && lvl >= 66 && spellId == GetSpell(LAVA_BURST_1)) + pctbonus += 0.10f; //Storm, Earth and fire (part 3): 60% bonus damage for Flame Shock (periodic damage in fact but who cares?) if ((GetSpec() == BOT_SPEC_SHAMAN_ELEMENTAL) && lvl >= 40 && spellId == GetSpell(FLAME_SHOCK_1)) pctbonus += 0.6f;