mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Changes the is_changeling and is_mindslave procs into proper defines (#25212)
* Changes these procs into proper defines * Henri review
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
if(sponge)
|
||||
return min(sponge.damage,maxHealth*2)
|
||||
else
|
||||
if(ischangeling(src))
|
||||
if(IS_CHANGELING(src))
|
||||
// if a changeling has no brain, they have no brain damage.
|
||||
return 0
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/headslug/projectile_hit_check(obj/item/projectile/P)
|
||||
return (stat || FALSE)
|
||||
|
||||
|
||||
/obj/item/organ/internal/body_egg/changeling_egg
|
||||
name = "changeling egg"
|
||||
desc = "Twitching and disgusting."
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
if(origin && origin.current && (origin.current.stat == DEAD))
|
||||
origin.transfer_to(M)
|
||||
var/datum/antagonist/changeling/cling = M.mind.has_antag_datum(/datum/antagonist/changeling)
|
||||
var/datum/antagonist/changeling/cling = IS_CHANGELING(M)
|
||||
if(cling.can_absorb_dna(owner))
|
||||
cling.absorb_dna(owner)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user