mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
TG update: Fixed a few derps in Poly's commit (namely, the revert back to public vars instead of procs).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2662 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
committed by
Albert Iordache
parent
cd9821e371
commit
df54c71559
@@ -240,10 +240,10 @@
|
||||
O.loc = usr.loc
|
||||
|
||||
O.name = text("monkey ([])",copytext(md5(usr.real_name), 2, 6))
|
||||
O.toxloss = usr.getToxLoss()
|
||||
O.bruteloss = usr.getBruteLoss()
|
||||
O.oxyloss = usr.getOxyLoss()
|
||||
O.fireloss = usr.getFireLoss()
|
||||
O.setToxLoss(usr.getToxLoss())
|
||||
O.setBruteLoss(usr.getBruteLoss())
|
||||
O.setOxyLoss(usr.getOxyLoss())
|
||||
O.setFireLoss(usr.getFireLoss())
|
||||
O.stat = usr.stat
|
||||
O.a_intent = "hurt"
|
||||
for (var/obj/item/weapon/implant/I in implants)
|
||||
@@ -335,10 +335,10 @@
|
||||
|
||||
updateappearance(O,O.dna.uni_identity)
|
||||
domutcheck(O, null)
|
||||
O.toxloss = usr.getToxLoss()
|
||||
O.bruteloss = usr.getBruteLoss()
|
||||
O.oxyloss = usr.getOxyLoss()
|
||||
O.fireloss = usr.getFireLoss()
|
||||
O.setToxLoss(usr.getToxLoss())
|
||||
O.setBruteLoss(usr.getBruteLoss())
|
||||
O.setOxyLoss(usr.getOxyLoss())
|
||||
O.setFireLoss(usr.getFireLoss())
|
||||
O.stat = usr.stat
|
||||
for (var/obj/item/weapon/implant/I in implants)
|
||||
I.loc = O
|
||||
@@ -379,10 +379,10 @@
|
||||
spawn(1200)
|
||||
usr.stat = 0
|
||||
//usr.fireloss = 0
|
||||
usr.toxloss = 0
|
||||
usr.setToxLoss(0)
|
||||
//usr.bruteloss = 0
|
||||
usr.oxyloss = 0
|
||||
usr.cloneloss = 0
|
||||
usr.setOxyLoss(0)
|
||||
usr.setCloneLoss(0)
|
||||
usr.paralysis = 0
|
||||
usr.stunned = 0
|
||||
usr.weakened = 0
|
||||
@@ -390,7 +390,7 @@
|
||||
//usr.health = 100
|
||||
//usr.updatehealth()
|
||||
var/mob/living/M = src
|
||||
M.heal_overall_damage(1000, 1000)
|
||||
M.heal_overall_damage(M.getBruteLoss(), M.getFireLoss())
|
||||
usr.reagents.clear_reagents()
|
||||
usr.lying = 0
|
||||
usr.canmove = 1
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
adjustFireLoss(-getFireLoss())
|
||||
for(var/datum/organ/external/O in organs)
|
||||
if(istype(O, /datum/organ/external))
|
||||
bruteloss += O.brute_dam
|
||||
adjustBruteLoss(O.brute_dam)
|
||||
adjustFireLoss(O.burn_dam)
|
||||
return
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
if(!damage || (blocked >= 2)) return 0
|
||||
switch(damagetype)
|
||||
if(BRUTE)
|
||||
bruteloss += (damage/(blocked+1))
|
||||
adjustBruteLoss(damage/(blocked+1))
|
||||
if(BURN)
|
||||
if(mutations & COLD_RESISTANCE) damage = 0
|
||||
adjustFireLoss(damage/(blocked+1))
|
||||
if(TOX)
|
||||
adjustToxLoss(damage/(blocked+1))
|
||||
if(OXY)
|
||||
oxyloss += (damage/(blocked+1))
|
||||
adjustOxyLoss(damage/(blocked+1))
|
||||
if(CLONE)
|
||||
cloneloss += (damage/(blocked+1))
|
||||
UpdateDamageIcon()
|
||||
|
||||
Reference in New Issue
Block a user