Skip to content

Commit

Permalink
simplifies D20
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 committed Sep 16, 2024
1 parent 92805c1 commit 0cd3949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/_core/obj/item/dice.dm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
used = TRUE

// https://www.desmos.com/calculator/vivxdlctyz
var/luck_to_add = ((chosen_number - 10)/10)*50
var/luck_to_add = (chosen_number - 10) * 5

if(luck_to_add)
if(luck_to_add < 0)
Expand Down Expand Up @@ -172,4 +172,4 @@
icon_state = "d12"
max_states = 12

value = 40
value = 40

0 comments on commit 0cd3949

Please sign in to comment.