Tweaks to MK

This commit is contained in:
Fermi
2019-07-09 23:27:37 +01:00
parent c12c5be2b6
commit ce390fb595
5 changed files with 13 additions and 7 deletions
+5 -2
View File
@@ -326,8 +326,11 @@
if(E.phase < 3)
if(HAS_TRAIT(src, TRAIT_MINDSHIELD))
to_chat(src, "<span class='notice'>Your mindshield prevents your mind from giving in!</span>")
E.enthrallTally += 50
to_chat(src, "<span class='notice'>You give into [E.master]'s influence.</span>")
else if(src.mind.assigned_role in GLOB.command_positions)
to_chat(src, "<span class='notice'>Your dedication to your department prevents you from giving in!</span>")
else
E.enthrallTally += 20
to_chat(src, "<span class='notice'>You give into [E.master]'s influence.</span>")
if (InCritical())
log_message("Has succumbed to death while in [InFullCritical() ? "hard":"soft"] critical with [round(health, 0.1)] points of health!", LOG_ATTACK)
adjustOxyLoss(health - HEALTH_THRESHOLD_DEAD)