The following code using a c# fightclass in dll is not triggering when leveling up.
public void Initialize()
{
EventsLua.AttachEventLua(LuaEventsId.PLAYER_LEVEL_UP, m => SpellBookUpdate());
}
private void SpellBookUpdate()
{
Logging.Write("Updating Spell Book!", Logging.LogType.Normal, Color.Crimson);
SpellManager.UpdateSpellBook();
CustomClass.ResetCustomClass();
}
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now