Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- class Spell:
- def __init__(self, name, cost, dm, type):
- self.name = name
- self.cost = cost
- self.dm = dm
- self.type = type
- def gen_dm(self):
- low = self.dm - 15
- high = self.dm + 15
- return random.randrange(low,high)
Add Comment
Please, Sign In to add comment