def Inaugurate(self, character): skill = character.Cylax_Tech[self.Name] Cost = eg.Cylax_Cost(self.Value) Checker = eg.Cylax_Able(character, self.Value) Checker.Check() if (Checker.Final is True): character.Damage[3] = character.Damage[3] + Cost.Result character.Cylax_Value = self.Value if skill == 1: Cal_i = eg.Minner(0, character.Cylaxian[0], 30) Check = rd.randint(Cal_i, 3) if Check < 2: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii / 2, "additional DR for", 1 + character.Cylax_Tech[self.Name], "seconds. You can't make an action until the beginning of your next turn." ) if skill == 2: Cal_i = eg.Minner(0, character.Cylaxian[0], 20) Check = rd.randint(Cal_i, 2) if Check < 1: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii / 2, "additional DR for", 1 + character.Cylax_Tech[self.Name], "seconds. You can't make an action until the beginning of your next turn." ) if skill == 3: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii / 2, "additional DR for", 1 + character.Cylax_Tech[self.Name], "seconds. You can't make an action until the beginning of your next turn." ) else: print( "Error: Not a valued skill level. Needs to match the character's skill on their character sheet at self.Cylax_Tech," ) print("ranging from 1 to 3.") else: print("Unable to inaugurate as your bit state is", character.Cylax_Value, "and", self.Name, "is", self.Value, ".")
def Inaugurate(self, character): skill = character.Cylax_Tech[self.Name] Cost = eg.Cylax_Cost(self.Value) Checker = eg.Cylax_Able(character, self.Value) Checker.Check() if (Checker.Final is True): character.Damage[3] = character.Damage[ 3] + Cost.Result ### equal to the number of 1s in the binary. character.Cylax_Value = self.Value if skill == 1: Cal_i = eg.Minner(0, character.Cylaxian[0], 30) Check = rd.randint(Cal_i, 3) if Check < 2: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] + character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii, "ST for 1 second and you can only make one action before the beginning of your next turn." ) if skill == 2: Cal_i = eg.Minner(0, character.Cylaxian[0], 20) Check = rd.randint(Cal_i, 2) if Check < 1: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] + character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii, "ST for 1 second and you can only make one action before the beginning of your next turn." ) if skill == 3: skill_ii = character.Cylaxian[0] + character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You get", skill_ii, "ST for 1 second and you can only make one action before the beginning of your next turn." ) else: print( "Error: Not a valued skill level. Needs to match the character's skill on their character sheet at self.Cylax_Tech," ) print("ranging from 1 to 3.") else: print("Unable to inaugurate as your bit state is", character.Cylax_Value, "and", self.Name, "is", self.Value, ".")
def Inaugurate(self, character): skill = character.Cylax_Tech[self.Name] Cost = eg.Cylax_Cost(self.Value) Checker = eg.Cylax_Able(character, self.Value) Checker.Check() if (Checker.Final is True): character.Damage[3] = character.Damage[ 3] + Cost.Result ### equal to the number of 1s in the binary. character.Cylax_Value = self.Value if skill == 1: Cal_i = eg.Minner(0, character.Cylaxian[0], 30) Check = rd.randint(Cal_i, 3) if Check < 2: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("Create a stream of fire at an area of up to", skill_ii / 45, "meters^2, at up to", (skill_ii / 2) + 590, "temperture.") if skill == 2: Cal_i = eg.Minner(0, character.Cylaxian[0], 20) Check = rd.randint(Cal_i, 2) if Check < 1: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("Create a stream of fire at an area of up to", skill_ii / 30, "meters^2, at up to", (skill_ii / 2) + 590, "temperture.") if skill == 3: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("Create a stream of fire at an area of up to", skill_ii / 15, "meters^2, at up to", (skill_ii / 2) + 590, "temperture.") else: print( "Error: Not a valued skill level. Needs to match the character's skill on their character sheet at self.Cylax_Tech," ) print("ranging from 1 to 3.") else: print("Unable to inaugurate as your bit state is", character.Cylax_Value, "and", self.Name, "is", self.Value, ".")
def Inaugurate(self, character, target): skill = character.Cylax_Tech[self.Name] Cost = eg.Cylax_Cost(self.Value) Checker = eg.Cylax_Able(character, self.Value) Checker.Check() if (Checker.Final is True): character.Damage[3] = character.Damage[ 3] + Cost.Result ### equal to the number of 1s in the binary. character.Cylax_Value = self.Value if skill == 1: Cal_i = eg.Minner(0, character.Cylaxian[0], 30) Check = rd.randint(Cal_i, 3) if Check < 2: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("You heal the target for", skill_ii / 3, "HP.") target.Damage[0] = target.Damage[0] - skill_ii / 3 if skill == 2: Cal_i = eg.Minner(0, character.Cylaxian[0], 20) Check = rd.randint(Cal_i, 2) if Check < 1: print("You fail to inaugurate", self.Name) else: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("You heal the target for", skill_ii / 2, "HP.") target.Damage[0] = target.Damage[0] - skill_ii / 2 if skill == 3: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You heal the target for", skill_ii, "HP.") target.Damage[0] = target.Damage[0] - skill_ii else: print( "Error: Not a valued skill level. Needs to match the character's skill on their character sheet at self.Cylax_Tech," ) print("ranging from 1 to 3.") else: print("Unable to inaugurate as your bit state is", character.Cylax_Value, "and", self.Name, "is", self.Value, ".")
def Inaugurate(self, character): skill = character.Cylax_Tech[self.Name] Cost = eg.Cylax_Cost(self.Value) Checker = eg.Cylax_Able(character, self.Value) Checker.Check() if (Checker.Final is True): character.Damage[3] = character.Damage[ 3] + Cost.Result ### equal to the number of 1s in the binary. character.Cylax_Value = self.Value if skill == 1: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You reset your Cylax value to 0000 and you can't make an action until the end of the turn after your next." ) if skill == 2: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print( "You reset your Cylax value to 0000 and you can't make an action until the end of your next turn." ) if skill == 3: skill_ii = character.Cylaxian[0] * character.Cylax_Tech[ self.Name] print("You inaugurate", self.Name) print("You reset your Cylax value to 0000.") else: print( "Error: Not a valued skill level. Needs to match the character's skill on their character sheet at self.Cylax_Tech," ) print("ranging from 1 to 3.") else: print("Unable to inaugurate as your bit state is", character.Cylax_Value, "and", self.Name, "is", self.Value, ".")