mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
feat(Core/Modules): add separated lib for modules (#9281)
This commit is contained in:
@@ -15,11 +15,6 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef ELUNA
|
||||
#include "ElunaUtility.h"
|
||||
#include "LuaEngine.h"
|
||||
#endif
|
||||
|
||||
#include "Spell.h"
|
||||
#include "ArenaSpectator.h"
|
||||
#include "BattlefieldMgr.h"
|
||||
@@ -3586,9 +3581,7 @@ void Spell::_cast(bool skipCheck)
|
||||
{
|
||||
// now that we've done the basic check, now run the scripts
|
||||
// should be done before the spell is actually executed
|
||||
#ifdef ELUNA
|
||||
sEluna->OnSpellCast(playerCaster, this, skipCheck);
|
||||
#endif
|
||||
sScriptMgr->OnPlayerSpellCast(playerCaster, this, skipCheck);
|
||||
|
||||
// As of 3.0.2 pets begin attacking their owner's target immediately
|
||||
// Let any pets know we've attacked something. Check DmgClass for harmful spells only
|
||||
|
||||
Reference in New Issue
Block a user