Exemplo n.º 1
0
def LevelupCheckSpells(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 not char_editor.spells_check_complete(obj, class_extended_1):
        return 0
    if not char_editor.spells_check_complete(obj, class_extended_2):
        return 0
    return 1
Exemplo n.º 2
0
def LevelupCheckSpells(obj, class_extended_1=0):
    if (class_extended_1 == 0):
        class_extended_1 = char_class_utils.GetHighestArcaneClass(obj)
    if (not char_editor.spells_check_complete(obj, class_extended_1)):
        return 0
    return 1