eluna OnLearnTalents hook and player:LearnTalent function

Signed-off-by: Salja <salja8840@gmail.com>
This commit is contained in:
Salja
2015-01-15 10:29:27 +01:00
committed by Rochet2
parent 3f9251fef9
commit ed0d7dd415
15 changed files with 52 additions and 23 deletions

View File

@@ -9,10 +9,9 @@
#include "Hooks.h"
#include "HookHelpers.h"
#include "ElunaTemplate.h"
#include "LuaEngine.h"
#include "ElunaTemplate.h" // Needed to be able to push BattleGround objects.
#include "ElunaBinding.h"
#include "ElunaTemplate.h"
using namespace Hooks;
@@ -65,4 +64,4 @@ void Eluna::OnBGDestroy(BattleGround* bg, BattleGroundTypeId bgId, uint32 instan
CallAllFunctions(BGEventBindings, BG_EVENT_ON_PRE_DESTROY);
}
#endif // _BATTLEGROUND_HOOKS_H
#endif // _BATTLEGROUND_HOOKS_H