mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-27 18:42:44 +00:00
Almost all chemicals sould heal and harm humans and non-humans properly.
Various bugfixes for cult. -raised and manifested are cultists -you cannot use target for sacrificing -free a cultis frees from muzzle, closets, pods -removed unused files. Added satitize() to emotes. Extended and Random were returned to Game Panel. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1432 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -37,6 +37,15 @@
|
||||
if("gib")
|
||||
M.gib()
|
||||
if("kill")
|
||||
if (damage_amount>0)
|
||||
M.take_overall_damage(abs(damage_amount),abs(damage_amount))
|
||||
M.toxloss+=abs(damage_amount)
|
||||
M.oxyloss+=abs(damage_amount)
|
||||
else
|
||||
M.heal_overall_damage(abs(damage_amount),abs(damage_amount))
|
||||
M.toxloss+=abs(damage_amount)
|
||||
M.oxyloss+=abs(damage_amount)
|
||||
/*
|
||||
for(var/i=0,i<abs(damage_amount),i++)
|
||||
sleep(0) //to avoid troubles with instantly applying lots of damage, it seems to be buggy
|
||||
switch(damage_type)
|
||||
@@ -59,4 +68,5 @@
|
||||
if(damage_amount>0)
|
||||
M.fireloss++
|
||||
else
|
||||
M.fireloss--
|
||||
M.fireloss--
|
||||
*/
|
||||
Reference in New Issue
Block a user