def IsSelectingSpellsOnLevelup(obj, class_extended_1=0, class_extended_2=0): if class_extended_1 <= 0 or class_extended_2 <= 0: class_extended_1 = char_class_utils.GetHighestArcaneClass(obj) class_extended_2 = char_class_utils.GetHighestDivineClass(obj) if char_editor.is_selecting_spells(obj, class_extended_1): return 1 if char_editor.is_selecting_spells(obj, class_extended_2): return 1 return 0
def IsSelectingSpellsOnLevelup(obj, class_extended_1=0): newLvl = obj.stat_level_get(classEnum) + 1 if newLvl == 1: return 0 if class_extended_1 <= 0: class_extended_1 = char_class_utils.GetHighestArcaneClass(obj) if char_editor.is_selecting_spells(obj, class_extended_1): return 1 return 0
def IsSelectingSpellsOnLevelup(obj, class_extended_1=0): if (class_extended_1 == 0): class_extended_1 = char_class_utils.GetHighestArcaneClass(obj) if (char_editor.is_selecting_spells(obj, class_extended_1)): return 1 return 0