Fixes wand capcity (#22946)

This commit is contained in:
Qwertytoforty
2023-10-20 15:15:26 -04:00
committed by GitHub
parent 046e5ced8d
commit f01a25ee5d
@@ -18,8 +18,10 @@
if(prob(75) && variable_charges) //25% chance of listed max charges, 50% chance of 1/2 max charges, 25% chance of 1/3 max charges
if(prob(33))
max_charges = CEILING(max_charges / 3, 1)
charges = max_charges
else
max_charges = CEILING(max_charges / 2, 1)
charges = max_charges
/obj/item/gun/magic/wand/examine(mob/user)
. = ..()