Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math, os
- # Defining the variables we need
- final_damage=0
- final_splash_damage=0
- final_base_damage=0
- spash_bonus=0
- crit_multiplier=0
- base_bonus=0
- gun_type=0
- playthrough=0
- element_mult=0
- # This function will get us the necessary variables to calculate the final damage.
- def get_vars():
- # Gotta make those variables global.
- global gun_type
- global playthrough
- global final_base_damage
- global element_mult
- print("Please enter the gun type: (A/B/C/D/S/S1/X/FML/WTF) ")
- gun_type=raw_input()
- os.system("cls")# Clearing the screen
- print("Please enter your playthrough mode: (TVHM/Normal/UVHM)")
- playthrough=raw_input()
- os.system("cls")
- print("Please enter the base gun damage: ")
- final_base_damage=raw_input()
- os.system("cls")
- print("Please enter the elemental multiplier: (without the percentage sign)")
- element_mult=float(raw_input())/100
- os.system("cls")
- #print("Please enter the elemental relic value: (without the percentage sign)")
- get_vars()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement