コード例 #1
0
def Faerider(Fae):
    choice = input(
        "Select an Action!\n [ST] Statcheck!\n [FB] Faewood Bow!\n [FW] Faewood Wand!\n [FC] Faewood Cane!\n "
    )
    u = Fae
    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"
    if choice == "ST" or choice == "st":
        print("These are the stats for", u, "as they currently stand!")
        print("\n-----------------")
        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("PAR:", (WSD[uPAR]))
        print("MAR:", (WSD[uMAR]))
        print("-----------------\n")
    elif choice == "FB" or choice == "fb" or choice == "Bow" or choice == "bow":
        choice = input(
            "Select a Bow Action!\n ==ATTACKS==\n [W]eak!\n [N]ormal!\n [S]trong!\n ==SKILLS==\n [L]ongshot!\n [C]lipshot!\n "
        )
        if choice == "W" or choice == "w":
            TLB.BowShotQ("Faerider", "CobaltBow2")
        elif choice == "N" or choice == "n":
            TLB.BowShotN("Faerider", "CobaltBow2")
        elif choice == "S" or choice == "s":
            TLB.BowShotH("Faerider", "CobaltBow2")
        elif choice == "C" or choice == "c":
            SLB.Clipshot("Faerider", "CobaltBow2")
        elif choice == "L" or choice == "l":
            SLB.Longshot("Faerider", "CobaltBow2")
    elif choice == "FW" or choice == "fw" or choice == "Wand" or choice == "wand":
        choice = input(
            "Select a Wand Action!\n ==ATTACKS==\n [W]eak Ray!\n [N]ormal Ray!\n [S]trong Ray!\n ==SKILLS==\n [W]ater Grenade!\n [F]lame Blast!\n "
        )
        if choice == "W" or choice == "w":
            TLB.WandRayQ("Faerider", "NormalIvoryWand7")
        elif choice == "N" or choice == "n":
            TLB.WandRayN("Faerider", "NormalIvoryWand7")
        elif choice == "S" or choice == "s":
            TLB.WandRayH("Faerider", "NormalIvoryWand7")
        elif choice == "Flame" or choice == "flame" or choice == "fire" or choice == "Fire":
            SLB.FlameBlast("Faerider", "NormalIvoryWand7")
        elif choice == "Water" or choice == "water":
            SLB.WaterGrenade("Faerider", "NormalIvoryWand7")
    elif choice == "FC" or choice == "fc":
        choice = input(
            "Select a Cane action!\n [Q]uick Attack!\n [N]ormal Attack!\n [H]ard Attack!\n "
        )
        if choice == "Q" or choice == "q":
            TLB.CaneWhackQ("Faerider", "TungstenCane2")
        elif choice == "N" or choice == "n":
            TLB.CaneWhackN("Faerider", "TungstenCane2")
        elif choice == "H" or choice == "h":
            TLB.CaneWhackH("Faerider", "TungstenCane2")
コード例 #2
0
ファイル: Players.py プロジェクト: Synthetica9/RoPH2
def Brad(Brad):
    u = Brad
    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 something!\n [ST] Statcheck!\n [BB] Bronze Bow!\n [BK] Bone Knife!\n [T] Teeth!\n [I] Inventory!\n "
    )
    if choice == "ST" or choice == "st":
        choice = input("Select one!\n [P]layer!\n [E]quipment!\n ")
        if choice == "P" or choice == "p":
            print("These are the stats of", u, "so far!")
            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 == "E" or choice == "e":
            choice = input(
                "Which items stats are we checking?\n [BB] Bronze Bow!\n [BK] Bone Knife!\n [SS] Steel Shield!\n [AS] Armor Set!\n "
            )
            if choice == "bb" or choice == "BB":
                print("-----------------")
                print(OmniWeapData["NormalBronzeBow0"][6])
                print("Physical Damage is",
                      OmniWeapData["NormalBronzeBow0"][0])
                print("Magical Damage is", OmniWeapData["NormalBronzeBow0"][1])
                print("Weapon Accuracy is",
                      OmniWeapData["NormalBronzeBow0"][2])
                print("Weapon Weight is", OmniWeapData["NormalBronzeBow0"][3])
                print("Can be sold for", OmniWeapData["NormalBronzeBow0"][5])
                print("-----------------")
            elif choice == "BK" or choice == "bk":
                print("-----------------")
                print(OmniWeapData["NormalBoneKnife0"][6])
                print("Physical Damage is",
                      OmniWeapData["NormalBoneKnife0"][0])
                print("Magical Damage is", OmniWeapData["NormalBoneKnife0"][1])
                print("Weapon Accuracy is",
                      OmniWeapData["NormalBoneKnife0"][2])
                print("Weapon Weight is", OmniWeapData["NormalBoneKnife0"][3])
                print("Can be sold for", OmniWeapData["NormalBoneKnife0"][5])
                print("-----------------")
            elif choice == "SS" or choice == "ss":
                print("-----------------")
                print("Physical Resist is",
                      OmniArmorData["NormalSteelSmallshield0"][0])
                print("Magical Resist is",
                      OmniArmorData["NormalSteelSmallshield0"][1])
                print("Weight is", OmniArmorData["NormalSteelSmallshield0"][2])
                print("Can be sold for",
                      OmniArmorData["NormalSteelSmallshield0"][4])
                print("-----------------")
            elif choice == "AS" or choice == "as":
                print("-----------------")
                print(OmniArmorData["NormalBronzeHead0"][5])
                print("Headgear Physical Resist is",
                      OmniArmorData["NormalBronzeHead0"][0])
                print("Headgear Magical Resist is",
                      OmniArmorData["NormalBronzeHead0"][1])
                print("Headgear Weight is",
                      OmniArmorData["NormalBronzeHead0"][2])
                print("Headgear can be sold for",
                      OmniArmorData["NormalBronzeHead0"][4])
                print("-----------------")
                print(OmniArmorData["NormalBronzeTorso0"][5])
                print("Torsogear Physical Resist is",
                      OmniArmorData["NormalBronzeTorso0"][0])
                print("Torsogear Magical Resist is",
                      OmniArmorData["NormalBronzeTorso0"][1])
                print("Torsogear Weight is",
                      OmniArmorData["NormalBronzeTorso0"][2])
                print("Torsogear can be sold for",
                      OmniArmorData["NormalBronzeTorso0"][4])
                print("-----------------")
                print(OmniArmorData["NormalBronzeArms0"][5])
                print("Armwear Physical Resist is",
                      OmniArmorData["NormalBronzeArms0"][0])
                print("Armwear Magical Resist is",
                      OmniArmorData["NormalBronzeArms0"][1])
                print("Armwear Weight is",
                      OmniArmorData["NormalBronzeArms0"][2])
                print("Armwear can be sold for",
                      OmniArmorData["NormalBronzeArms0"][4])
                print("-----------------")
                print(OmniArmorData["NormalBronzeLegs0"][5])
                print("Legwear Physical Resist is",
                      OmniArmorData["NormalBronzeLegs0"][0])
                print("Legwear Magical Resist is",
                      OmniArmorData["NormalBronzeLegs0"][1])
                print("Legwear Weight is",
                      OmniArmorData["NormalBronzeLegs0"][2])
                print("Legwear can be sold for",
                      OmniArmorData["NormalBronzeLegs0"][4])
                print("-----------------")
                print(OmniArmorData["NormalBronzeFeet0"][5])
                print("Footwear Physical Resist is",
                      OmniArmorData["NormalBronzeFeet0"][0])
                print("Footwear Magical Resist is",
                      OmniArmorData["NormalBronzeFeet0"][1])
                print("Footwear Weight is",
                      OmniArmorData["NormalBronzeFeet0"][2])
                print("Footwear can be sold for",
                      OmniArmorData["NormalBronzeFeet0"][4])
                print("-----------------")
    elif choice == "BB" or choice == "bb":
        choice = input(
            "Select an action!\n [At]tacks!\n [Lo]ngshot!\n [Cl]ipshot!\n ")
        if choice == "At" or choice == "at" or choice == "AT":
            TLB.BraveBowHunter("Brad", "NormalBronzeBow0", "Flame")
        elif choice == "LO" or choice == "lo" or choice == "Lo":
            SLB.Longshot("Brad", "NormalBronzeBow0", "Flame")
        elif choice == "CL" or choice == "cl" or choice == "Cl":
            SLB.Clipshot("Brad", "NormalBronzeBow0")
    elif choice == "BK" or choice == "bk":
        choice = input("Select an action!\n [At]tacks!\n [Tr]iple Combo!\n ")
        if choice == "At" or choice == "at" or choice == "AT":
            TLB.Knife("Brad", "NormalBoneKnife0", "Flame")
        elif choice == "TR" or choice == "tr" or choice == "Tr":
            SLB.TripleComboKnife("Brad", "NormalBoneKnife0")
    elif choice == "T" or choice == "t" or choice == "teeth" or choice == "Teeth":
        SLB.SavageBite("Brad")
    else:
        print("-----------------")
        print("Please select a valid option.")
        print("-----------------")