mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
/datum/power/changeling/boost_range
|
|
name = "Boost Range"
|
|
desc = "We evolve the ability to shoot our stingers at humans, with some preperation."
|
|
helptext = "Allows us to prepare the next sting to have a range of two tiles."
|
|
enhancedtext = "The range is extended to five tiles."
|
|
ability_icon_state = "ling_sting_boost_range"
|
|
genomecost = 1
|
|
allowduringlesserform = 1
|
|
verbpath = /mob/proc/changeling_boost_range
|
|
|
|
//Boosts the range of your next sting attack by 1
|
|
/mob/proc/changeling_boost_range()
|
|
set category = "Changeling"
|
|
set name = "Ranged Sting (10)"
|
|
set desc="Your next sting ability can be used against targets 2 squares away."
|
|
|
|
var/datum/changeling/changeling = changeling_power(10,0,100)
|
|
if(!changeling)
|
|
return 0
|
|
changeling.chem_charges -= 10
|
|
to_chat(src, span_notice("Your throat adjusts to launch the sting."))
|
|
var/range = 2
|
|
if(src.mind.changeling.recursive_enhancement)
|
|
range = range + 3
|
|
to_chat(src, span_notice("We can fire our next sting from five squares away."))
|
|
changeling.sting_range = range
|
|
remove_verb(src,/mob/proc/changeling_boost_range) //CHOMPEdit
|
|
spawn(5)
|
|
add_verb(src,/mob/proc/changeling_boost_range) //CHOMPEdit
|
|
feedback_add_details("changeling_powers","RS")
|
|
return 1
|