code/__DEFINES/dcs/signals/signals_spell.dm
COMSIG_MOB_BEFORE_SPELL_CAST | Sent from /datum/action/cooldown/spell/before_cast() to the caster: (datum/action/cooldown/spell/spell, atom/cast_on) |
---|---|
COMSIG_SPELL_BEFORE_CAST | Sent from /datum/action/cooldown/spell/before_cast() to the spell: (atom/cast_on) |
SPELL_CANCEL_CAST | Return to prevent the spell cast from continuing. |
SPELL_NO_FEEDBACK | Return from before cast signals to prevent the spell from giving off sound or invocation. |
SPELL_NO_IMMEDIATE_COOLDOWN | Return from before cast signals to prevent the spell from going on cooldown before aftercast. |
COMSIG_MOB_TRY_INVOKE_SPELL | Sent to an mob when a /datum/action/cooldown/spell calls try_invoke() to the caster: (datum/action/cooldown/spell/spell, feedback) |
SPELL_INVOCATION_FAIL | The spell gets canceled |
SPELL_INVOCATION_ALWAYS_SUCCEED | The spell always succeeds to invoke regardless of following checks |
COMSIG_MOB_SPELL_ACTIVATED | Sent from /datum/action/cooldown/spell/set_click_ability() to the caster: (datum/action/cooldown/spell/spell) |
SPELL_CANCEL_ACTIVATION | Same as spell_cancel_cast, as they're able to be used interchangeably |
COMSIG_MOB_CAST_SPELL | Sent from /datum/action/cooldown/spell/cast() to the caster: (datum/action/cooldown/spell/spell, atom/cast_on) |
COMSIG_SPELL_CAST | Sent from /datum/action/cooldown/spell/cast() to the spell: (atom/cast_on) |
COMSIG_SPELL_AFTER_CAST | Sent from /datum/action/cooldown/spell/after_cast() to the spell: (atom/cast_on) |
COMSIG_SPELL_CAST_RESET | Sent from /datum/action/cooldown/spell/reset_spell_cooldown() to the spell: () |
COMSIG_MOB_PRE_INVOCATION | Sent from /datum/action/cooldown/spell/proc/invocation() to the mob: (datum/source, /datum/action/cooldown/spell/spell, list/invocation) |
INVOCATION_MESSAGE | index for the invocation message string |
INVOCATION_TYPE | index for the invocation type string |
INVOCATION_GARBLE_PROB | index for the invocation garble probability number |
COMSIG_SPELL_PROJECTILE_HIT | Sent from /datum/action/cooldown/spell/pointed/projectile/on_cast_hit: (atom/firer, atom/target, atom/hit, angle, hit_limb) |
COMSIG_SPELL_AOE_ON_CAST | Sent from /datum/action/cooldown/spell/aoe/cast: (list/atoms_affected, atom/caster) |
COMSIG_SPELL_CONE_ON_CAST | Sent from /datum/action/cooldown/spell/cone/cast: (list/atoms_affected, atom/caster) |
COMSIG_SPELL_CONE_ON_LAYER_EFFECT | Sent from /datum/action/cooldown/spell/cone/do_cone_effects: (list/atoms_affected, atom/caster, level) |
COMSIG_SPELL_TOUCH_HAND_HIT | Sent from /datum/action/cooldown/spell/touch/do_hand_hit: (atom/hit, mob/living/carbon/caster, obj/item/melee/touch_attack/hand) |
COMSIG_TOUCH_HANDLESS_CAST | Sent from /datum/action/cooldown/spell/touch/cast: (mob/living/carbon/cast_on) |
COMPONENT_CAST_HANDLESS | Return this to prevent the hand spawning/unspawning |
COMSIG_MOB_PRE_JAUNT | Sent from datum/action/cooldown/spell/jaunt/before_cast, before the mob enters jaunting as a pre-check: (datum/action/cooldown/spell/spell) |
COMSIG_MOB_ENTER_JAUNT | Sent from datum/action/cooldown/spell/jaunt/enter_jaunt, to the mob jaunting: (obj/effect/dummy/phased_mob/jaunt, datum/action/cooldown/spell/spell) |
COMSIG_MOB_EJECTED_FROM_JAUNT | Set from /obj/effect/dummy/phased_mob after the mob is ejected from its contents: (obj/effect/dummy/phased_mob/jaunt, mob/living/unjaunter) |
COMSIG_MOB_AFTER_EXIT_JAUNT | Sent from datum/action/cooldown/spell/jaunt/exit_jaunt, after the mob exited jaunt: (datum/action/cooldown/spell/spell) |
COMSIG_MOB_PHASED_CHECK | Sent from /obj/effect/dummy/phased_mob/proc/phased_check when moving to the holder object: (/obj/effect/dummy/phased_mob, mob/living/phaser, turf/newloc) |
COMPONENT_BLOCK_PHASED_MOVE | Return this to cancel the phased move |
COMSIG_LIVING_BLOOD_CRAWL_PRE_CONSUMED | Sent from/datum/action/cooldown/spell/jaunt/bloodcrawl/slaughter_demon/try_enter_jaunt, to any unconscious / critical mobs being dragged when the jaunter enters blood: (datum/action/cooldown/spell/jaunt/bloodcrawl/crawl, mob/living/jaunter, obj/effect/decal/cleanable/blood) |
COMSIG_LIVING_BLOOD_CRAWL_CONSUMED | Sent from/datum/action/cooldown/spell/jaunt/bloodcrawl/slaughter_demon/consume_victim, to the victim being consumed by the slaughter demon. (datum/action/cooldown/spell/jaunt/bloodcrawl/crawl, mob/living/jaunter) |
COMPONENT_STOP_CONSUMPTION | Return at any point to stop the bloodcrawl "consume" process from continuing. |
COMSIG_ITEM_IMBUE_SOUL | Sent from /datum/action/cooldown/spell/lichdom/cast(), to the item being imbued: (datum/action/cooldown/spell/spell, mob/user) |
COMPONENT_BLOCK_IMBUE | Return to stop the cast and prevent the soul imbue |
COMSIG_ATOM_MAGICALLY_UNLOCKED | Sent from /datum/action/cooldown/spell/aoe/knock/cast(), to every nearby turf (for connect loc): (datum/action/cooldown/spell/aoe/knock/spell, mob/living/caster) |
COMSIG_ITEM_MARK_RETRIEVAL | Sent from /datum/action/cooldown/spell/summonitem/cast(), to the item being marked for recall: (datum/action/cooldown/spell/spell, mob/user) |
COMPONENT_BLOCK_MARK_RETRIEVAL | Return to stop the cast and prevent the item from being marked |
COMSIG_MAGIC_RECALL | When an object is retrieved by a magic recall spell. This will apply to all containers, mobs, etc. that are pulled by the spell. |
COMSIG_ITEM_MAGICALLY_CHARGED | Sent from /datum/action/cooldown/spell/charge/cast(), to the item in hand being charged: (datum/action/cooldown/spell/spell, mob/user) |
COMPONENT_ITEM_CHARGED | Return if an item was successful recharged |
COMPONENT_ITEM_BURNT_OUT | Return if the item had a negative side effect occur while recharging |
Define Details
COMPONENT_BLOCK_IMBUE
Return to stop the cast and prevent the soul imbue
COMPONENT_BLOCK_MARK_RETRIEVAL
Return to stop the cast and prevent the item from being marked
COMPONENT_BLOCK_PHASED_MOVE
Return this to cancel the phased move
COMPONENT_CAST_HANDLESS
Return this to prevent the hand spawning/unspawning
COMPONENT_ITEM_BURNT_OUT
Return if the item had a negative side effect occur while recharging
COMPONENT_ITEM_CHARGED
Return if an item was successful recharged
COMPONENT_STOP_CONSUMPTION
Return at any point to stop the bloodcrawl "consume" process from continuing.
COMSIG_ATOM_MAGICALLY_UNLOCKED
Sent from /datum/action/cooldown/spell/aoe/knock/cast(), to every nearby turf (for connect loc): (datum/action/cooldown/spell/aoe/knock/spell, mob/living/caster)
COMSIG_ITEM_IMBUE_SOUL
Sent from /datum/action/cooldown/spell/lichdom/cast(), to the item being imbued: (datum/action/cooldown/spell/spell, mob/user)
COMSIG_ITEM_MAGICALLY_CHARGED
Sent from /datum/action/cooldown/spell/charge/cast(), to the item in hand being charged: (datum/action/cooldown/spell/spell, mob/user)
COMSIG_ITEM_MARK_RETRIEVAL
Sent from /datum/action/cooldown/spell/summonitem/cast(), to the item being marked for recall: (datum/action/cooldown/spell/spell, mob/user)
COMSIG_LIVING_BLOOD_CRAWL_CONSUMED
Sent from/datum/action/cooldown/spell/jaunt/bloodcrawl/slaughter_demon/consume_victim, to the victim being consumed by the slaughter demon. (datum/action/cooldown/spell/jaunt/bloodcrawl/crawl, mob/living/jaunter)
COMSIG_LIVING_BLOOD_CRAWL_PRE_CONSUMED
Sent from/datum/action/cooldown/spell/jaunt/bloodcrawl/slaughter_demon/try_enter_jaunt, to any unconscious / critical mobs being dragged when the jaunter enters blood: (datum/action/cooldown/spell/jaunt/bloodcrawl/crawl, mob/living/jaunter, obj/effect/decal/cleanable/blood)
COMSIG_MAGIC_RECALL
When an object is retrieved by a magic recall spell. This will apply to all containers, mobs, etc. that are pulled by the spell.
COMSIG_MOB_AFTER_EXIT_JAUNT
Sent from datum/action/cooldown/spell/jaunt/exit_jaunt, after the mob exited jaunt: (datum/action/cooldown/spell/spell)
COMSIG_MOB_BEFORE_SPELL_CAST
Sent from /datum/action/cooldown/spell/before_cast() to the caster: (datum/action/cooldown/spell/spell, atom/cast_on)
COMSIG_MOB_CAST_SPELL
Sent from /datum/action/cooldown/spell/cast() to the caster: (datum/action/cooldown/spell/spell, atom/cast_on)
COMSIG_MOB_EJECTED_FROM_JAUNT
Set from /obj/effect/dummy/phased_mob after the mob is ejected from its contents: (obj/effect/dummy/phased_mob/jaunt, mob/living/unjaunter)
COMSIG_MOB_ENTER_JAUNT
Sent from datum/action/cooldown/spell/jaunt/enter_jaunt, to the mob jaunting: (obj/effect/dummy/phased_mob/jaunt, datum/action/cooldown/spell/spell)
COMSIG_MOB_PHASED_CHECK
Sent from /obj/effect/dummy/phased_mob/proc/phased_check when moving to the holder object: (/obj/effect/dummy/phased_mob, mob/living/phaser, turf/newloc)
COMSIG_MOB_PRE_INVOCATION
Sent from /datum/action/cooldown/spell/proc/invocation() to the mob: (datum/source, /datum/action/cooldown/spell/spell, list/invocation)
COMSIG_MOB_PRE_JAUNT
Sent from datum/action/cooldown/spell/jaunt/before_cast, before the mob enters jaunting as a pre-check: (datum/action/cooldown/spell/spell)
COMSIG_MOB_SPELL_ACTIVATED
Sent from /datum/action/cooldown/spell/set_click_ability() to the caster: (datum/action/cooldown/spell/spell)
COMSIG_MOB_TRY_INVOKE_SPELL
Sent to an mob when a /datum/action/cooldown/spell calls try_invoke() to the caster: (datum/action/cooldown/spell/spell, feedback)
COMSIG_SPELL_AFTER_CAST
Sent from /datum/action/cooldown/spell/after_cast() to the spell: (atom/cast_on)
COMSIG_SPELL_AOE_ON_CAST
Sent from /datum/action/cooldown/spell/aoe/cast: (list/atoms_affected, atom/caster)
COMSIG_SPELL_BEFORE_CAST
Sent from /datum/action/cooldown/spell/before_cast() to the spell: (atom/cast_on)
COMSIG_SPELL_CAST
Sent from /datum/action/cooldown/spell/cast() to the spell: (atom/cast_on)
COMSIG_SPELL_CAST_RESET
Sent from /datum/action/cooldown/spell/reset_spell_cooldown() to the spell: ()
COMSIG_SPELL_CONE_ON_CAST
Sent from /datum/action/cooldown/spell/cone/cast: (list/atoms_affected, atom/caster)
COMSIG_SPELL_CONE_ON_LAYER_EFFECT
Sent from /datum/action/cooldown/spell/cone/do_cone_effects: (list/atoms_affected, atom/caster, level)
COMSIG_SPELL_PROJECTILE_HIT
Sent from /datum/action/cooldown/spell/pointed/projectile/on_cast_hit: (atom/firer, atom/target, atom/hit, angle, hit_limb)
COMSIG_SPELL_TOUCH_HAND_HIT
Sent from /datum/action/cooldown/spell/touch/do_hand_hit: (atom/hit, mob/living/carbon/caster, obj/item/melee/touch_attack/hand)
COMSIG_TOUCH_HANDLESS_CAST
Sent from /datum/action/cooldown/spell/touch/cast: (mob/living/carbon/cast_on)
INVOCATION_GARBLE_PROB
index for the invocation garble probability number
INVOCATION_MESSAGE
index for the invocation message string
INVOCATION_TYPE
index for the invocation type string
SPELL_CANCEL_ACTIVATION
Same as spell_cancel_cast, as they're able to be used interchangeably
SPELL_CANCEL_CAST
Return to prevent the spell cast from continuing.
SPELL_INVOCATION_ALWAYS_SUCCEED
The spell always succeeds to invoke regardless of following checks
SPELL_INVOCATION_FAIL
The spell gets canceled
SPELL_NO_FEEDBACK
Return from before cast signals to prevent the spell from giving off sound or invocation.
SPELL_NO_IMMEDIATE_COOLDOWN
Return from before cast signals to prevent the spell from going on cooldown before aftercast.