Exemple #1
0
def StClips(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 [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] Festive Firwood Mechgun+2!\n ")
        if choice == "1":
            choice = input(
                "[Q]uick!\n [N]ormal!\n [H]ard!\n [Dr]izzle!\n [Bl]itz!\n ")
            if choice == "AT" or choice == "At" or choice == "at":
                Attacks.MechgunManiac("StClips", "FestiveWoodMechgun2",
                                      "Earth")
            elif choice == "DR" or choice == "Dr" or choice == "dr":
                Skills.DrizzleManiac("StClips", "FestiveWoodMechgun2", "Earth")
            elif choice == "BL" or choice == "Bl" or choice == "bl":
                Skills.BlitzManiac("StClips", "FestiveWoodMechgun2", "Earth")
    elif choice == "I" or choice == "i":
        choice = input("Select an item!\n ")
    elif choice == "SK" or choice == "Sk" or choice == "sk":
        Check.Skillcheck("StClips", 2).Choice
Exemple #2
0
def StClips(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 [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.StClipsHP)
		importlib.reload(EnergyBar)
		print("Current ENE:",EnergyBar.StClipsENE)
		print("-----------------")
	elif choice == "T" or choice == "t":
		UserShield="StClipsShield"
		importlib.reload(Shielding)
		ShieldPos=getattr(Shielding,UserShield)
		if ShieldPos == "Equipped":
			with open('C:\\Users\\seven\\OneDrive\\Desktop\\RoPH OOP Update\\For Testing Ideas\\Shielding.py','a+') as f:
				importlib.reload(Shielding)
				print(UserShield+"=NotEquipped",file=f)
		else:
			with open('C:\\Users\\seven\\OneDrive\\Desktop\\RoPH OOP Update\\For Testing Ideas\\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] Festive Firwood Mechgun+2!\n ")
		if choice == "1":
			choice=input("[Q]uick!\n [N]ormal!\n [H]ard!\n [Dr]izzle!\n [Bl]itz!\n ")
			if choice == "AT" or choice == "At" or choice == "at":
				Attacks.MechgunManiac("StClips","FestiveWoodMechgun2","Earth")
			elif choice == "DR" or choice == "Dr" or choice == "dr":
				Skills.DrizzleManiac("StClips","FestiveWoodMechgun2","Earth")
			elif choice == "BL" or choice == "Bl" or choice == "bl":
				Skills.BlitzManiac("StClips","FestiveWoodMechgun2","Earth")
	elif choice == "I" or choice == "i":
		choice=input("Select an item!\n ")
		if choice == "P" or choice == "p":
			ItemUsed=eval("Items."+input("Item is: "))
			exec(str(ItemUsed("StClips")))
	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