mirror of
https://github.com/araxiaonline/AzerothCore-wotlk-with-NPCBots.git
synced 2026-06-13 03:22:24 -04:00
NPCBots: Add bonus damage calculations for shaman spells (#34)
* Add bonus damage calculations for shaman spells * Refactor bonus damage calculations for shaman AI
This commit is contained in:
@@ -1510,6 +1510,12 @@ public:
|
|||||||
//Call of Flame (part 2): 6% bonus damage for Lava burst
|
//Call of Flame (part 2): 6% bonus damage for Lava burst
|
||||||
if (lvl >= 15 && spellId == GetSpell(LAVA_BURST_1))
|
if (lvl >= 15 && spellId == GetSpell(LAVA_BURST_1))
|
||||||
pctbonus += 0.06f;
|
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?)
|
//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))
|
if ((GetSpec() == BOT_SPEC_SHAMAN_ELEMENTAL) && lvl >= 40 && spellId == GetSpell(FLAME_SHOCK_1))
|
||||||
pctbonus += 0.6f;
|
pctbonus += 0.6f;
|
||||||
|
|||||||
Reference in New Issue
Block a user