private static void Postfix(LevelUpController __instance) { Mod.Debug("Clearing Cache because LevelUpController.Commit called"); CasterHelpers.ClearCachedSpellsLearned(__instance.Unit); CasterHelpers.CacheSpellsLearned(__instance.Unit); }
private static void Postfix(UnitEntityData entity) => CasterHelpers.CacheSpellsLearned(entity);