mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
/datum/technomancer/spell/instability_tap
|
|
name = "Instability Tap"
|
|
desc = "Creates a large sum of energy (5,000 at normal spell power), at the cost of a very large amount of instability afflicting you."
|
|
enhancement_desc = "50% more energy gained, 20% less instability gained."
|
|
spell_power_desc = "Amount of energy gained scaled with spell power."
|
|
cost = 100
|
|
obj_path = /obj/item/spell/instability_tap
|
|
ability_icon_state = "tech_instabilitytap"
|
|
category = UTILITY_SPELLS
|
|
|
|
/obj/item/spell/instability_tap
|
|
name = "instability tap"
|
|
desc = "Short term gain for long term consequences never end bad, right?"
|
|
cast_methods = CAST_USE
|
|
aspect = ASPECT_UNSTABLE
|
|
|
|
/obj/item/spell/instability_tap/New()
|
|
..()
|
|
set_light(3, 2, l_color = "#FA58F4")
|
|
|
|
/obj/item/spell/instability_tap/on_use_cast(mob/user)
|
|
var/amount = calculate_spell_power(5000)
|
|
if(check_for_scepter())
|
|
core.give_energy(amount * 1.5)
|
|
adjust_instability(40)
|
|
else
|
|
core.give_energy(amount)
|
|
adjust_instability(50)
|
|
playsound(src, 'sound/effects/supermatter.ogg', 75, 1)
|
|
qdel(src) |