I'm buffing the Warmage for my own game and I'd like to try to implement something like the Eclectic Learning ACF, but buffed slightly, i.e. when using Advanced Learning, instead of an evocation spell, the Warmage can learn any Wizard spell but it has to be one spell level lower than the current max if it's not an evocation. How would I change the condition here to achieve something like that? Also, any plans on implementing the actual version of eclectic learning on a future version of ToEE? Code: def IsAdvancedLearningSpell(obj, spell): spEntry = tpdp.SpellEntry(spell.spell_enum) #Don't add spells that are already known to the list if obj.is_spell_known(spell.spell_enum): return False #First get rid of everything in the warmage spell list for level, spell_list_level in spell_list.items(): if spell.spell_enum in spell_list_level: return False #Next, get rid of everything that is not evocation if spEntry.spell_school_enum == Evocation: # or the spell is one level lower than the current max return True return False Sorry, I don't have any experience in modding ToEE. How can I find out more about the fields and methods available to stuff like spEntry or spell or tpdp, etc.?