def SF_modifier(self): self.court_awareness = major_bonus(self.court_awareness) self.decision_making = major_bonus(self.decision_making) self.shot_three = minor_bonus(self.shot_three) self.rebounding = major_bonus(self.rebounding) self.shot_midrange = minor_bonus(self.shot_midrange) self.off_iq = major_bonus(self.off_iq) self.def_iq = major_bonus(self.def_iq) self.speed = minor_bonus(self.shot_three) self.shot_layup = minor_bonus(self.shot_layup) self.height += random.randrange(9 , 19) self.shot_layup += self.shooting_touch self.shot_ft += self.shooting_touch self.shot_three += self.shooting_touch self.shot_midrange += self.shooting_touch self.position = "SF"
def rating_boost(): # because every coach should be good at 1 thing in the very least to_boost = random.randint(1,5) if to_boost == 1: major_bonus(self.motivation) return self.motivation elif to_boost == 2: major_bonus(self.coach_off_iq) return self.coach_off_iq elif to_boost == 3: major_bonus(self.coach_def_iq) return self.coach_def_iq elif to_boost == 4: major_bonus(self.training) return self.training elif to_boost == 5: major_bonus(self.leadership)
def PG_modifier(self): self.court_awareness = major_bonus(self.court_awareness) self.decision_making = major_bonus(self.decision_making) self.passing = major_bonus(self.passing) self.dribbling = major_bonus(self.dribbling) self.steal = major_bonus(self.steal) self.off_iq = major_bonus(self.off_iq) self.speed = major_bonus(self.speed) self.height += random.randrange(1,5) self.shot_layup += self.shooting_touch self.shot_ft += self.shooting_touch self.shot_three += self.shooting_touch self.position = "PG"
def SG_modifier(self): self.shot_layup = major_bonus(self.shot_layup) self.shot_midrange = major_bonus(self.shot_midrange) self.shot_three = major_bonus(self.shot_three) self.off_iq = major_bonus(self.off_iq) self.steal = major_bonus(self.steal) self.speed = major_bonus(self.speed) self.decision_making = major_bonus(self.decision_making) self.shooting_touch = minor_bonus(self.shooting_touch) self.height += random.randrange(4 , 10) self.shot_midrange += self.shooting_touch self.shot_ft += self.shooting_touch self.shot_three += self.shooting_touch self.position = "SG"
def C_modifier(self): self.decision_making = major_bonus(self.decision_making) self.rebounding= major_bonus(self.rebounding) self.shot_close = major_bonus(self.shot_close) self.block = major_bonus(self.block) self.off_iq = major_bonus(self.off_iq) self.def_iq = major_bonus(self.off_iq) self.height += random.randrange(22 , 28) self.shot_layup += self.shooting_touch self.shot_close += self.shooting_touch self.position = "C"