Loot: Difference between revisions

Jump to navigation Jump to search
No change in size ,  5 March 2021
(update loot chances)
 
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)) > chance_of_loot * 10:
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.

Navigation menu