Exemple #1
0
def Gunbo(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 [T]win Pistols!\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 == "T" or choice == "t":
        choice = input(
            "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n [C]harge Shot!\n "
        )
        if choice == "Q" or choice == "q":
            AttacksOO.Pistols("NormalTungstenTwinPistol2", "Gunbo", Water, 1,
                              0).QATK
        elif choice == "N" or choice == "n":
            AttacksOO.Pistols("NormalTungstenTwinPistol2", "Gunbo", Water, 1,
                              0).NATK
        elif choice == "H" or choice == "h":
            AttacksOO.Pistols("NormalTungstenTwinPistol2", "Gunbo", Water, 1,
                              0).HATK
        elif choice == "C" or choice == "c":
            AttacksOO.Pistols("NormalTungstenTwinPistol2", "Gunbo", Water, 1,
                              0).ChargeShot
    elif choice == "I" or choice == "i":
        Items.HandGrenade("Gunbo")
Exemple #2
0
def Gunbo(Gunbo):
    u = Gunbo
    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 [T]win Pistols!\n [C]harge Shot!\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 == "T" or choice == "t":
        TLB.Pistol("Gunbo", "NormalTungstenTwinPistol2", "Aqua")
    elif choice == "C" or choice == "c":
        SLB.ChargeShot("Gunbo", "NormalTungstenTwinPistol2")
    elif choice == "I" or choice == "i":
        Items.HandGrenade("Gunbo")
Exemple #3
0
def Reyn(Character):
    u = Character
    uHP = WSD[Character].HP
    uENE = WSD[Character].ENE
    uSTR = WSD[Character].STR
    uSPR = WSD[Character].SPR
    uSKL = WSD[Character].SKL
    uABL = WSD[Character].ABL
    uAGI = WSD[Character].AGI
    uEVA = WSD[Character].EVA
    uTGH = WSD[Character].TGH
    uRES = WSD[Character].RES
    uLCK = WSD[Character].LCK
    uPAR = WSD[Character].PAR
    uMAR = WSD[Character].MAR
    uWT = WSD[Character].ArmorWT
    choice = input(
        "Select something!\n [St]atcheck!\n [Ba]ttlestats!\n [At]tack!\n [T]oggle Shield!\n [I]nventory!\n [C]onfirm Actions!\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 == "BA" or choice == "Ba" or choice == "ba":
        print("-----------------")
        importlib.reload(HealthBar)
        print("Current HP:", HealthBar.ReynHP)
        importlib.reload(EnergyBar)
        print("Current ENE:", EnergyBar.ReynENE)
        print("-----------------")
    elif choice == "T" or choice == "t":
        UserShield = "ReynShield"
        importlib.reload(Shielding)
        ShieldPos = getattr(Shielding, UserShield)
        if ShieldPos == "Equipped":
            with open(
                    'C:\\Users\\seven\\OneDrive\\Desktop\\RoPH OOP Update\\Shielding.py',
                    'a+') as f:
                importlib.reload(Shielding)
                print(UserShield + "=NotEquipped", file=f)
        else:
            with open(
                    'C:\\Users\\seven\\OneDrive\\Desktop\\RoPH OOP Update\\Shielding.py',
                    'a+') as f:
                importlib.reload(Shielding)
                print(UserShield + "=Equipped", file=f)
    elif choice == "AT" or choice == "At" or choice == "at":
        choice = input(
            "Which weapon?\n [1] Stony Tungsten Greatsword!\n [2] Tungsten Spear!\n [3] Eye Laser!\n "
        )
        if choice == "1":
            choice = input(
                "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n [He]avy Stab!\n "
            )
            if choice == "Q" or choice == "q":
                AttacksOO.GreatswordGrinder(WSD["Reyn"].Weapon1, "Reyn", Void,
                                            1.5, 0, 0).QATK
            elif choice == "N" or choice == "n":
                AttacksOO.GreatswordGrinder(WSD["Reyn"].Weapon1, "Reyn", Void,
                                            1.5, 0, 0).NATK
            elif choice == "H" or choice == "h":
                AttacksOO.GreatswordGrinder(WSD["Reyn"].Weapon1, "Reyn", Void,
                                            1.5, 0, 0).HATK
            elif choice == "HE" or choice == "He" or choice == "he":
                AttacksOO.GreatswordGrinder(WSD["Reyn"].Weapon1, "Reyn", Void,
                                            1.5, 0, 0).HeavyStab
        elif choice == "2":
            choice = input(
                "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n [Tr]ipoint Buster!\n [Cu]two!\n "
            )
            if choice == "Q" or choice == "q":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).QATK
            elif choice == "N" or choice == "n":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).NATK
            elif choice == "H" or choice == "h":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).HATK
            elif choice == "TR" or choice == "Tr" or choice == "tr":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).TripointBuster
            elif choice == "CU" or choice == "Cu" or choice == "cu":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).Cutwo
            elif choice == "PP" or choice == "Pp" or choice == "pp":
                AttacksOO.Polearm(WSD["Reyn"].Weapon2, "Reyn", Solar, 1.35, 0,
                                  0).PiercingPounce
        elif choice == "3":
            AttacksOO.Weaponless("Reyn", Solar, 1, 0, 2, 0).EyeLaser
    elif choice == "I" or choice == "i":
        choice = input("Select an item!\n [Ha]nd Grenade!\n [P]ick!\n ")
        if choice == "HA" or choice == "Ha" or choice == "ha":
            Items.HandGrenade("Reyn")
        elif choice == "P" or choice == "p":
            ItemUsed = eval("Items." + input("Item is: "))
            exec(str(ItemUsed("Reyn")))
    elif choice == "C" or choice == "c":
        choice = input(
            "Select a Type!\n [A]ttackcheck!\n [S]killcheck!\n [I]temcheck!\n "
        )
        User = "******"
        UserLevel = WSD[User].Level
        if choice == "A" or choice == "a":
            Check.Attackcheck(User).Confirm
        elif choice == "S" or choice == "s":
            Check.Skillcheck(User, UserLevel).Choice
        elif choice == "I" or choice == "i":
            Check.Itemcheck(User).Confirm
Exemple #4
0
def Jango(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 something!\n [St]atcheck!\n [At]tack!\n [I]nventory!\n [P]ickpocket!\n [Sk]illcheck!\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] Reinforced Bone Knife!\n [2] Reinforced Bone Knife!\n "
        )
        if choice == "1" or choice == "2":
            choice = input(
                "Select an action!\n [Q]uick!\n [N]ormal!\n [H]ard!\n [Tr]iple Combo!\n "
            )
            if choice == "Q" or choice == "q":
                AttacksOO.Knife("ReinforcedBoneKnife0", "Jango", Flame, 1.3, 0,
                                0).QATK
            elif choice == "N" or choice == "n":
                AttacksOO.Knife("ReinforcedBoneKnife0", "Jango", Flame, 1.3, 0,
                                0).NATK
            elif choice == "H" or choice == "h":
                AttacksOO.Knife("ReinforcedBoneKnife0", "Jango", Flame, 1.3, 0,
                                0).HATK
            elif choice == "TR" or choice == "Tr" or choice == "tr":
                AttacksOO.Knife("ReinforcedBoneKnife0", "Jango", Flame, 1.3, 0,
                                0).TripleCombo
            elif choice == "SU" or choice == "Su" or choice == "su":
                Skills.Surprise("Jango", "ReinforcedBoneKnife0",
                                "ReinforcedBoneKnife0", "Flame", "Flame")
    elif choice == "I" or choice == "i":
        choice = input(
            "Select an item!\n [Sh]uriken!\n [Or]ange Juice!\n [Ha]nd Grenade!\n "
        )
        if choice == "SH" or choice == "Sh" or choice == "sh":
            Items.Shuriken("Jango")
        elif choice == "OR" or choice == "Or" or choice == "or":
            Items.OrangeJuice("Jango")
        elif choice == "HA" or choice == "Ha" or choice == "ha":
            Items.HandGrenade("Jango")
    elif choice == "P" or choice == "p":
        AttacksOO.Pickpocket("Jango")
    elif choice == "SK" or choice == "Sk" or choice == "sk":
        Check.Skillcheck("Jango", 1).Choice