Skip to content

Commit 756321e

Browse files
changes (#38022)
1 parent c5fae39 commit 756321e

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

code/datums/gamemode/powers/changeling.dm

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,17 @@
264264
helptext = "It does not purge the diseases nor provides antigens, but instead causes the symptoms to never appear."
265265
cost = 2
266266
spellpath = /spell/changeling/disease_immunity
267+
268+
/datum/power/changeling/faster_suck
269+
name = "Faster Absorb DNA"
270+
desc = "We optimize the development process and pressure differential of our proboscis, permitting faster development and consumption."
271+
helptext = "Reduces DNA absorption time from 45 seconds to 24 seconds."
272+
cost = 4
273+
274+
/datum/power/changeling/faster_suck/add_power(var/datum/role/R)
275+
. = ..()
276+
if (!.)
277+
return
278+
var/datum/role/changeling/changeling = R
279+
to_chat(changeling.antag.current, span_notice("We improved our proboscis, and can now absorb targets in 24 seconds."))
280+
changeling.faster_suck = TRUE

code/datums/gamemode/role/changeling.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
spell_exclude = /spell/changeling/evolve
2828

2929
var/mimicing = ""
30-
var/disease_immunity = 0 //If on, the changeling doesn't suffer any symptoms from diseases
30+
var/disease_immunity = FALSE //If on, the changeling doesn't suffer any symptoms from diseases
31+
var/faster_suck = FALSE //If on, reduces the delay between the changeling's absorb DNA stages from 15 seconds to 8 seconds.
3132

3233
/datum/role/changeling/OnPostSetup(var/laterole = FALSE)
3334
. = ..()

code/modules/spells/changeling/absorb_dna.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
var/obj/item/weapon/grab/G = user.get_active_hand() //You need to be grabbing the target
4444
var/mob/living/carbon/human/T = G.affecting
4545
var/datum/role/changeling/changeling = user.mind.GetRole(CHANGELING)
46-
var/absorbtime = 15 SECONDS
46+
var/absorbtime = changeling.faster_suck ? 8 SECONDS : 15 SECONDS
4747
inuse = TRUE
4848
for(var/stage in 1 to 3)
4949
switch(stage)

0 commit comments

Comments
 (0)