コード例 #1
0
ファイル: Allies.py プロジェクト: Synthetica9/RoPH2
def Wander(Wander):
    u = Wander
    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 [SM] Support Magic!\n [At]tacks!\n "
    )
    if choice == "ST" or choice == "st":
        print("These are Wander's stats, 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 == "At" or choice == "at" or choice == "AT":
        TLB.RodShot("Wander", "CopperRod0")
    elif choice == "SM" or choice == "sm":
        choice = input(
            "Select a Support Spell!\n [HR] Healthy Ray!\n [HG] Healthy Glow!\n [RR] Restorative Ray!\n "
        )
        if choice == "HR" or choice == "hr":
            SLB.HealthyRay("Wander", "CopperRod0")
        elif choice == "hg" or choice == "HG":
            SLB.HealthyGlow("Wander", "CopperRod0")
        elif choice == "RR" or choice == "rr":
            SLB.RestorativeRay("Wander", "CopperRod0")
コード例 #2
0
ファイル: Players.py プロジェクト: Synthetica9/RoPH2
def Chambellan(Chambellan):
    u = Chambellan
    uSTR = u + "STR"
    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 [WL] Weapons List!\n")
    if choice == "ST" or choice == "st":
        print("These are Chambellan's stats 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 == "WL" or choice == "wl":
        choice = input(
            "Select a Weapon to use!\n [GC] Gold Cane!\n [IW] Ivory Wand!\n ")
        if choice == "GC" or choice == "gc":
            choice = input(
                "Select an Action!\n [Q] Quick!\n [N] Normal!\n [H] Hard!\n [HG] Healthy Glow!\n [HR] Healthy Ray!\n [RR] Restorative Ray!\n [CL] Cudgel!\n [SB] Shatter Blow!\n "
            )
            if choice == "Q" or choice == "q":
                TLB.CaneCrushQ("Chambellan", "NormalGoldCane0")
            elif choice == "N" or choice == "n":
                TLB.CaneCrushN("Chambellan", "NormalGoldCane0")
            elif choice == "H" or choice == "h":
                TLB.CaneCrushH("Chambellan", "NormalGoldCane0")
            elif choice == "HG" or choice == "hg":
                SLB.HealthyGlow("Chambellan", "NormalGoldCane0")
            elif choice == "HR" or choice == "hr":
                SLB.HealthyRay("Chambellan", "NormalGoldCane0")
            elif choice == "RR" or choice == "rr":
                SLB.RestorativeRay("Chambellan", "NormalGoldCane0")
            elif choice == "CL" or choice == "cl" or choice == "Cudgel" or choice == "cudgel":
                SLB.Cudgel("Chambellan", "NormalGoldCane0")
            elif choice == "SB" or choice == "sb" or choice == "Shatter Blow" or choice == "shatter blow":
                SLB.ShatterBlow("Chambellan", "NormalGoldCane0")
        elif choice == "IW" or choice == "iw":
            choice = input(
                "Select an action!\n [W] Weak Magic Blast!\n [S] Split Magic Blast!\n [N] Normal Magic Blast!\n [HG] Healthy Glow!\n [HR] Healthy Ray!\n [RR] Restorative Ray!\n "
            )
            if choice == "W" or choice == "w" or choice == "Weak" or choice == "weak":
                TLB.MagicBlastW("Chambellan", "NormalIvoryWand0")
            elif choice == "S" or choice == "s" or choice == "Split" or choice == "split":
                TLB.MagicBlastS("Chambellan", "NormalIvoryWand0")
            elif choice == "N" or choice == "n" or choice == "Normal" or choice == "normal":
                TLB.MagicBlastN("Chambellan", "NormalIvoryWand0")
            elif choice == "F" or choice == "f" or choice == "Focused" or choice == "focused":
                TLB.MagicBlastF("Chambellan", "NormalIvoryWand0")
            elif choice == "HG" or choice == "hg":
                SLB.HealthyGlow("Chambellan", "NormalIvoryWand0")
            elif choice == "HR" or choice == "hr":
                SLB.HealthyRay("Chambellan", "NormalIvoryWand0")
            elif choice == "RR" or choice == "rr":
                SLB.RestorativeRay("Chambellan", "NormalIvoryWand0")