mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-10 09:22:29 +00:00
26 lines
921 B
Plaintext
26 lines
921 B
Plaintext
/datum/power/changeling/deaf_sting
|
|
name = "Deaf Sting"
|
|
desc = "We silently sting a human, completely deafening them for a short time."
|
|
enhancedtext = "Deafness duration is extended."
|
|
genomecost = 1
|
|
allowduringlesserform = 1
|
|
verbpath = /mob/proc/changeling_deaf_sting
|
|
|
|
|
|
/mob/proc/changeling_deaf_sting()
|
|
set category = "Changeling"
|
|
set name = "Deaf sting (5)"
|
|
set desc="Sting target:"
|
|
|
|
var/mob/living/carbon/T = changeling_sting(5,/mob/proc/changeling_deaf_sting)
|
|
if(!T) return 0
|
|
var/duration = 300
|
|
if(src.mind.changeling.recursive_enhancement)
|
|
duration = duration + 100
|
|
src << "<span class='notice'>They will be unable to hear for a little longer.</span>"
|
|
src.mind.changeling.recursive_enhancement = 0
|
|
T << "<span class='danger'>Your ears pop and begin ringing loudly!</span>"
|
|
T.sdisabilities |= DEAF
|
|
spawn(duration) T.sdisabilities &= ~DEAF
|
|
feedback_add_details("changeling_powers","DS")
|
|
return 1 |