-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharacterClasses.py
More file actions
99 lines (70 loc) · 2.59 KB
/
Copy pathCharacterClasses.py
File metadata and controls
99 lines (70 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
from EquipmentClasses import *
class Character():
health = None #how much damage chr can take before dying
strength = None #divide by attack coeff_ and add equipment to calculate dmg point
intelligence = None #used to determine likelihood of damaging
speed = None #used to determine likelihood of evading
weapon = None #boosts damage
chest_armor=None #protects against physical hits
leg_armor = None #protects against stats hits
label = None #used for printing what type of character you are
name = None
class Traditional(Character):
weapons_list = [SmallSword(),SmallAxe(),SmallKnife()]
chest_armor_list = [CopperPlate(), WoolShirt(),LeatherPlate()]
leg_armor_list = [CopperBrace(),WoolBrace(),LeatherBrace()]
class Bizarre(Character):
weapons_list = None
chest_armor_list = None
leg_armor_list = None
class Human(Traditional):
def __init__(self):
self.health = 10 #units
self.strength = 7 #units
self.intelligence = 5 #units
self.speed = 7 #units
self.label = "HUMAN"
class Orc(Traditional):
def __init__(self):
self.health = 12
self.strength = 11
self.intelligence = 3
self.speed = 4
self.label = "ORC"
class Elf(Traditional):
def __init__(self):
self.health = 7
self.strength = 5
self.intelligence = 7
self.speed = 12
self.label = "ELF"
class MosqMan(Bizarre):
def __init__(self):
self.health = 4
self.strength = 3
self.intelligence = 4
self.speed = 20
self.weapons_list = [BloodStick(),ShrpBrknWing(), HardEggs()]
self.chest_armor_list = [ChitinSkin(),HumanTissue(),DndrfFlakes()]
self.leg_armor_list = [ChitinString(),HumanHair(),CatHair()]
self.label= "MOSQUITO MAN"
class MrClean(Bizarre):
def __init__(self):
self.health = 7
self.strength = 13
self.intelligence = 15
self.speed = 2
self.weapons_list=[Sponge(),Plunger(),Mop()]
self.chest_armor_list = [CrustySponge(),DirtyRag(),BblShirt()]
self.leg_armor_list = [SpongeShoes(),SoapShoes(),BblShoes()]
self.label = "MR. CLEAN HUMANOID"
class TPFeeders(Bizarre):
def __init__(self):
self.health = 16
self.strength = 5
self.intelligence = 1
self.speed = 5
self.weapons_list = [TastySoap(),NoTearShampoo(),ToiletSeat()]
self.chest_armor_list = [TideBox(),PltcWrap(),ShameShirt()]
self.leg_armor_list = [IdtJeans(),SoapPants(),BblShorts()]
self.label = "TIDE POD FEEDER"