Bug fixes

This commit is contained in:
Markolie
2014-12-13 21:53:01 +01:00
parent 320f4ee151
commit 22eb3e3c29
19 changed files with 233 additions and 96 deletions
+2 -2
View File
@@ -2634,12 +2634,12 @@ datum
if (istype(holder.my_atom,/mob/living))
var/mob/living/M as mob
var/to_remove = 0
if(!M) M = holder.my_atom
if (holder.has_reagent("anti_toxin"))
to_remove = min(holder.get_reagent_amount("anti_toxin"),data)
holder.remove_reagent("anti_toxin", to_remove, 0)
data -= to_remove
M.adjustToxLoss((data-1)*rand(2,4))
if(M)
M.adjustToxLoss((data-1)*rand(2,4))
..()
psilocybin