private static void HandleLevelUp() //Is properly called once :D, I don't know how but the me in the past was a genius, no idea how I did that { currentBC.CCC.equippedClass.CheckScript(); if (currentBC.CCC.equippedClass.HasProperScript()) { try { currentBC.CCC.equippedClass.HandleLevelup(currentBC.CCC.equippedClass, currentBC); } catch (Exception e) { } } if (levelUpInfo != null) { lustid = new LevelUpStatIncreaseDisplay(levelUpInfo, currentBC); } abilityPostCount = currentBC.CCC.equippedClass.possibleClassAbilities().Count; if (abilityPreCount != abilityPostCount) { bGainedANewAbility = true; } }
static public void ConfirmPress() { if (bLevelledUp) { bLevelledUp = false; currentBC.CCC.equippedClass.classEXP.bLevelledUp = false; levelUpInfo = null; lustid = null; } else { if (charsAndExpGains.Count != 0) { GenerateLogic(); } else { Stop(); } } }