mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
fix for "the floor emits a pulse of energy"
Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -72,8 +72,8 @@
|
|||||||
H.update_body()
|
H.update_body()
|
||||||
H.update_face()
|
H.update_face()
|
||||||
H.UpdateDamageIcon()
|
H.UpdateDamageIcon()
|
||||||
return 1
|
return 1
|
||||||
//
|
//
|
||||||
if (istype(user, /mob/living/carbon/monkey/))
|
if (istype(user, /mob/living/carbon/monkey/))
|
||||||
user << "\blue You feel a soothing energy invigorate you."
|
user << "\blue You feel a soothing energy invigorate you."
|
||||||
user.adjustOxyLoss(-25)
|
user.adjustOxyLoss(-25)
|
||||||
@@ -81,6 +81,7 @@
|
|||||||
user.adjustBruteLoss(-25)
|
user.adjustBruteLoss(-25)
|
||||||
user.adjustFireLoss(-25)
|
user.adjustFireLoss(-25)
|
||||||
user.adjustBrainLoss(-25)
|
user.adjustBrainLoss(-25)
|
||||||
|
return 1
|
||||||
else user << "Nothing happens."
|
else user << "Nothing happens."
|
||||||
if("injure")
|
if("injure")
|
||||||
if (istype(user, /mob/living/carbon/))
|
if (istype(user, /mob/living/carbon/))
|
||||||
|
|||||||
@@ -179,7 +179,7 @@
|
|||||||
my_effect.UpdateEffect(src.loc)
|
my_effect.UpdateEffect(src.loc)
|
||||||
|
|
||||||
//activate
|
//activate
|
||||||
if(src.charged && my_effect.DoEffect(src.loc))
|
if(src.charged && my_effect.DoEffect(src))
|
||||||
src.charged = 0
|
src.charged = 0
|
||||||
src.chargetime = src.recharge
|
src.chargetime = src.recharge
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@
|
|||||||
else if (my_effect.trigger != "touch" && !src.activated) user << "Nothing happens."
|
else if (my_effect.trigger != "touch" && !src.activated) user << "Nothing happens."
|
||||||
|
|
||||||
if (my_effect.effectmode == "contact" && src.activated && src.charged)
|
if (my_effect.effectmode == "contact" && src.activated && src.charged)
|
||||||
my_effect.DoEffect(src.loc)
|
my_effect.DoEffect(src)
|
||||||
src.charged = 0
|
src.charged = 0
|
||||||
src.chargetime = src.recharge
|
src.chargetime = src.recharge
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user