- Product: Fight Classes
- Type: Bug
- Status: Unconfirmed
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