def InitSpellSelection(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)
    char_editor.init_spell_selection(obj, class_extended_1)
    char_editor.init_spell_selection(obj, class_extended_2)
    return 0
Beispiel #2
0
def InitSpellSelection(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)
    char_editor.init_spell_selection(obj, class_extended_1)
    return 0
Beispiel #3
0
def InitSpellSelection(obj, class_extended_1=0):
    if (class_extended_1 == 0):
        class_extended_1 = char_class_utils.GetHighestArcaneClass(obj)
    char_editor.init_spell_selection(obj, class_extended_1)
    return 0