コード例 #1
0
def Jelloween(Jelloween):
    u = Jelloween
    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"
    choice = input(
        "Select a thing!\n [ST]Statcheck!\n [BS] Bodyslam!\n [EH] Earthen Hammer!\n "
    )
    if choice == "ST" or choice == "st":
        print("These are Jelloween's stats, so far!")
        print("-----------------")
        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("-----------------")
    if choice == "BS" or choice == "bs" or choice == "Bodyslam" or choice == "bodyslam":
        TLB.Bodyslam("Jelloween")
    elif choice == "EH" or choice == "eh" or choice == "Earthen Hammer" or choice == "earthen hammer":
        SLB.EarthenHammer("Jelloween", "NormalIvoryWand3")
コード例 #2
0
def Skelemage(Skelemage):
    u = Skelemage
    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] Statcheck!\n [SP] Spells!\n ")
    if choice == "ST" or choice == "st":
        print("These are SkeleMage's stats!")
        print("-----------------")
        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 == "SP" or choice == "sp" or choice == "Spells" or choice == "spells":
        choice = input(
            "Select a Spell!\n [SB] Stun Bolt!\n [FB] Fire Blast!\n [WG] Water Grenade!\n [EH] Earthen Hammer!\n [WW] Windy Whip!\n "
        )
        if choice == "SB" or choice == "sb" or choice == "Stun Bolt" or choice == "stun bolt":
            SLB.StunBolt("SkeleMage", "NormalCopperRod2")
        elif choice == "FB" or choice == "fb" or choice == "Fire Blast" or choice == "fire blast":
            SLB.FireBlast("SkeleMage", "NormalCopperRod2")
        elif choice == "WG" or choice == "wg" or choice == "Water Grenade" or choice == "water grenade":
            SLB.WaterGrenade("SkeleMage", "NormalCopperRod2")
        elif choice == "EH" or choice == "eh" or choice == "Earthen Hammer" or choice == "earthen hammer":
            SLB.EarthenHammer("SkeleMage", "NormalCopperRod2")
        elif choice == "WW" or choice == "ww" or choice == "Windy Whip" or choice == "windy whip":
            SLB.WindyWhip("SkeleMage", "NormalCopperRod2")