2
edits
(update loot chances) |
Voidmaster94 (talk | contribs) |
||
Line 6: | Line 6: | ||
if self.bot.in_class_line(ctx.character_data["class"], "Ritualist"): | if self.bot.in_class_line(ctx.character_data["class"], "Ritualist"): | ||
chance_of_loot *= 2 | chance_of_loot *= 2 | ||
if (random.randint(1, 1000)) | if (random.randint(1, 1000)) < chance_of_loot * 10: | ||
# loot is given if this condition passes</nowiki> | # loot is given if this condition passes</nowiki> | ||
Below is a table to visualize all chances. Ritualists always have double the chance to receive loot. | Below is a table to visualize all chances. Ritualists always have double the chance to receive loot. |
edits