示例#1
0
def Gachum(Gachum):
    u = Gachum
    uMHP = u + "MHP"
    uENE = u + "ENE"
    uSTR = u + "STR"
    uSPR = u + "SPR"
    uSKL = u + "SKL"
    uABL = u + "ABL"
    uAGI = u + "AGI"
    uEVA = u + "EVA"
    uTGH = u + "TGH"
    uRES = u + "RES"
    uLCK = u + "LCK"
    uPAR = u + "PAR"
    uMAR = u + "MAR"
    choice = input(
        "Select an action type!\n [St]atcheck!\n [K]nife!\n [S]licer!\n [I]nventory!\n "
    )
    if choice == "ST" or choice == "St" or choice == "st":
        print("These are the stats for", u, "as they currently stand!")
        print("-----------------")
        print("Health Pool", (WSD[uMHP]))
        print("Energy Pool", (WSD[uENE]))
        print("Strength:", (WSD[uSTR]))
        print("Spirit:", (WSD[uSPR]))
        print("Skill:", (WSD[uSKL]))
        print("Ability:", (WSD[uABL]))
        print("Agility:", (WSD[uAGI]))
        print("Evasion:", (WSD[uEVA]))
        print("Toughness:", (WSD[uTGH]))
        print("Resistance:", (WSD[uRES]))
        print("Luck:", (WSD[uLCK]))
        print("Physical Resist:", (WSD[uPAR]))
        print("Magical Resist:", (WSD[uMAR]))
        print("-----------------")
    elif choice == "K" or choice == "k":
        TLB.Knife("Gachum", "NormalBoneKnife7", "Lightning")
    elif choice == "S" or choice == "s":
        TLB.Slicer("Gachum", "NormalTinSlicer3", "Lightning")
    elif choice == "I" or choice == "i":
        choice = input(
            "Select an Item!\n [G]olden Apple!\n [S]weet Orange!\n [T]hrowing Stars!\n "
        )
        if choice == "G" or choice == "g":
            Items.GoldenApple("Gachum")
        elif choice == "S" or choice == "s":
            Items.SweetOrange("Gachum")
        elif choice == "T" or choice == "t":
            Items.ThrowingStar("Gachum")
示例#2
0
def Gachum(Unit):
    u = Unit
    uHP = WSD[Unit].HP
    uENE = WSD[Unit].ENE
    uSTR = WSD[Unit].STR
    uSPR = WSD[Unit].SPR
    uSKL = WSD[Unit].SKL
    uABL = WSD[Unit].ABL
    uAGI = WSD[Unit].AGI
    uEVA = WSD[Unit].EVA
    uTGH = WSD[Unit].TGH
    uRES = WSD[Unit].RES
    uLCK = WSD[Unit].LCK
    uPAR = WSD[Unit].PAR
    uMAR = WSD[Unit].MAR
    uWT = WSD[Unit].ArmorWT
    choice = input(
        "Select an action type!\n [St]atcheck!\n [At]tack!\n [I]nventory!\n ")
    if choice == "ST" or choice == "St" or choice == "st":
        print("-----------------")
        print("HP:", uHP)
        print("ENE:", uENE)
        print("STR:", uSTR)
        print("SPR:", uSPR)
        print("SKL:", uSKL)
        print("ABL:", uABL)
        print("AGI:", uAGI)
        print("EVA:", uEVA)
        print("TGH:", uTGH)
        print("RES:", uRES)
        print("LCK:", uLCK)
        print("PAR:", uPAR)
        print("MAR:", uMAR)
        print("WT:", uWT)
        print("-----------------")
    elif choice == "At" or choice == "at" or choice == "AT":
        choice = input("Which weapon?\n [1] Bone Knife!\n [2] Tin Slicer!\n ")
        if choice == "1":
            choice = input(
                "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n [Pi]npoint Stab!\n "
            )
            if choice == "Q" or choice == "q":
                AttacksOO.Knife("NormalBoneKnife7", "Gachum", Lightning, 1, 0,
                                0).QATK
            elif choice == "N" or choice == "n":
                AttacksOO.Knife("NormalBoneKnife7", "Gachum", Lightning, 1, 0,
                                0).NATK
            elif choice == "H" or choice == "h":
                AttacksOO.Knife("NormalBoneKnife7", "Gachum", Lightning, 1, 0,
                                0).HATK
            elif choice == "PI" or choice == "Pi" or choice == "pi":
                AttacksOO.Knife("NormalBoneKnife7", "Gachum", Lightning, 1, 0,
                                0).PinpointStab
        elif choice == "2":
            choice = input(
                "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n ")
            if choice == "Q" or choice == "q":
                AttacksOO.Slicer("NormalTinSlicer3", "Gachum", Lightning, 1,
                                 0).QATK
            elif choice == "N" or choice == "n":
                AttacksOO.Slicer("NormalTinSlicer3", "Gachum", Lightning, 1,
                                 0).NATK
            elif choice == "H" or choice == "h":
                AttacksOO.Slicer("NormalTinSlicer3", "Gachum", Lightning, 1,
                                 0).HATK
    elif choice == "I" or choice == "i":
        choice = input(
            "Select an Item!\n [G]olden Apple!\n [S]weet Orange!\n [T]hrowing Stars!\n "
        )
        if choice == "G" or choice == "g":
            Items.GoldenApple("Gachum")
        elif choice == "S" or choice == "s":
            Items.SweetOrange("Gachum")
        elif choice == "T" or choice == "t":
            Items.ThrowingStar("Gachum")