mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-09 00:52:09 +00:00
* datumized spells * finished * last changes * conflict * Update code/datums/spells/alien_spells/transfer_plasma.dm * conflicts * shitty runtime fix until i get to this tomorrow * Update code/datums/spell.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spell_handler/alien_spell_handler.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/alien_spells/regurgitate.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/alien_spells/regurgitate.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/bloodcrawl.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/bloodcrawl.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/awaymissions/mission_code/ruins/wizardcrash.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/research/xenobiology/xenobiology.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/living/carbon/superheroes.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/conjure.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/ethereal_jaunt.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/emplosion.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/turf_teleport.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/datums/spells/wizard_spells.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/gamemodes/miniantags/revenant/revenant_abilities.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * guess who just rework the entire malf ai actionsf ai * gc better --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
GLOBAL_LIST_INIT(boo_phrases, list(
|
|
"You feel a chill run down your spine.",
|
|
"You think you see a figure in your peripheral vision.",
|
|
"What was that?",
|
|
"The hairs stand up on the back of your neck.",
|
|
"You are filled with a great sadness.",
|
|
"Something doesn't feel right...",
|
|
"You feel a presence in the room.",
|
|
"It feels like someone's standing behind you.",
|
|
))
|
|
|
|
/datum/spell/boo
|
|
name = "Boo!"
|
|
desc = "Fuck with the living."
|
|
selection_deactivated_message = "<span class='notice'>Your presence will not be known. For now.</span>"
|
|
selection_activated_message = "<span class='notice'>You prepare to reach across the veil. <b>Left-click to influence a target!</b></span>"
|
|
|
|
ghost = TRUE
|
|
|
|
action_icon_state = "boo"
|
|
school = "transmutation"
|
|
base_cooldown = 2 MINUTES
|
|
starts_charged = FALSE
|
|
clothes_req = FALSE
|
|
stat_allowed = UNCONSCIOUS
|
|
invocation = ""
|
|
invocation_type = "none"
|
|
// no need to spam admins regarding boo casts
|
|
create_attack_logs = FALSE
|
|
|
|
|
|
/datum/spell/boo/create_new_targeting()
|
|
var/datum/spell_targeting/click/T = new()
|
|
T.allowed_type = /atom
|
|
T.try_auto_target = FALSE
|
|
return T
|
|
|
|
/datum/spell/boo/cast(list/targets, mob/user = usr)
|
|
var/atom/target = targets[1]
|
|
ASSERT(istype(target))
|
|
|
|
if(target.get_spooked())
|
|
var/area/spook_zone = get_area(target)
|
|
if(spook_zone.is_haunted)
|
|
to_chat(usr, "<span class='notice'>The veil is weak in [spook_zone], it took less effort to influence [target].</span>")
|
|
cooldown_handler.start_recharge(cooldown_handler.recharge_duration / 2)
|
|
return
|
|
|
|
cooldown_handler.start_recharge(cooldown_handler.recharge_duration * 0.1)
|