mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Makes legion cores ignore all slowdown/speedups
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#define PASSEMOTES 16 //Mob has a cortical borer or holders inside of it that need to see emotes.
|
||||
#define GOTTAGOFAST 32
|
||||
#define IGNORESLOWDOWN 128
|
||||
#define IGNORE_SPEED_CHANGES 256
|
||||
#define GODMODE 4096
|
||||
#define FAKEDEATH 8192 //Replaces stuff like changeling.changeling_fakedeath
|
||||
#define XENO_HOST 16384 //Tracks whether we're gonna be a baby alien's mummy.
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
alert_type = /obj/screen/alert/status_effect/regenerative_core
|
||||
|
||||
/datum/status_effect/regenerative_core/on_apply()
|
||||
owner.status_flags |= IGNORESLOWDOWN
|
||||
owner.status_flags |= IGNORE_SPEED_CHANGES
|
||||
owner.adjustBruteLoss(-25)
|
||||
owner.adjustFireLoss(-25)
|
||||
owner.remove_CC()
|
||||
@@ -229,4 +229,4 @@
|
||||
return TRUE
|
||||
|
||||
/datum/status_effect/regenerative_core/on_remove()
|
||||
owner.status_flags &= ~IGNORESLOWDOWN
|
||||
owner.status_flags &= ~IGNORE_SPEED_CHANGES
|
||||
|
||||
@@ -222,6 +222,8 @@
|
||||
|
||||
/datum/species/proc/movement_delay(mob/living/carbon/human/H)
|
||||
. = 0 //We start at 0.
|
||||
if(H.status_flags & IGNORE_SPEED_CHANGES)
|
||||
return .
|
||||
|
||||
if(has_gravity(H))
|
||||
if(H.status_flags & GOTTAGOFAST)
|
||||
|
||||
Reference in New Issue
Block a user