-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spell: Add auto break proc script for auras and their respective glyphs
Capped with formula for cls because I cant be bothered to research it too hard.
- Loading branch information
1 parent
14efb9f
commit 53efce2
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53efce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably forgot to include:
#include "Globals/ObjectMgr.h"
in
src/game/AI/ScriptDevAI/scripts/world/spell_scripts_wotlk.cpp
src/game/AI/ScriptDevAI/scripts/world/spell_scripts_wotlk.cpp:116:26: error: ‘sObjectMgr’ was not declared in this scope; did you mean ‘ObjectMgr’?
116 | auto stats = sObjectMgr.GetCreatureClassLvlStats(caster->GetLevel(), CLASS_WARRIOR, EXPANSION_WOTLK);