Implemented adjustToxLoss(amount)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2535 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2011-11-20 00:12:49 +00:00
committed by Albert Iordache
parent 91c2fd77e7
commit e7a0a44ea4
32 changed files with 108 additions and 111 deletions
+2 -2
View File
@@ -192,7 +192,7 @@
stage = 3
maxm = 3
activate(var/mob/living/carbon/mob,var/multiplier)
mob.toxloss += (2*multiplier)
mob.adjustToxLoss(2*multiplier)
/datum/disease2/effect/scream
name = "Random screaming syndrome"
@@ -261,7 +261,7 @@
name = "Toxification syndrome"
stage = 4
activate(var/mob/living/carbon/mob,var/multiplier)
mob.toxloss += 15
mob.adjustToxLoss(15)
/*
/datum/disease2/effect/hallucinations
name = "Hallucinational Syndrome"
@@ -35,8 +35,8 @@
if(M.virus2)
M.virus2.cure_added(resistance)
else if(works == 1)
M.toxloss += rand(20,50)
M.adjustToxLoss(rand(20,50))
else if(works == 2)
M.toxloss += rand(50,100)
M.adjustToxLoss(rand(50,100))
else if(works == 3)
infect_virus2(M,virus2,1)