This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /robex/ - 2021 ## | |
import matplotlib.pyplot as plt | |
import math | |
class Weapon: | |
def __init__(self, rangemod, basedmg, maxrange, gainrange, name): | |
self.rangemod = rangemod | |
self.basedmg = basedmg | |
self.maxrange = maxrange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rename all the files specified in a directory to a sequential order. | |
# CAREFUL: DON'T USE WITH THE SAME NDIGITS IF THE FILES IN THE DIRECTORY | |
# ARE ALREADY NAMED SEQUENTIALLY, OR THEY MAY BE OVERWRITTEN AND LOST | |
# A workaround for this is to run rename.sh with another value for the ndigits | |
# and then run it again with the original. | |
# | |
# /robex/ - 2018 | |
#no arguments | |
if [ $# -eq 0 ]; then |