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_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_SPELL_PROJECTILE_HIT | Sent from /datum/action/cooldown/spell/pointed/projectile/on_cast_hit: (atom/hit, atom/firer, obj/projectile/source) |
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_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_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_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 successfuly 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_ITEM_BURNT_OUT
Return if the item had a negative side effect occur while recharging
COMPONENT_ITEM_CHARGED
Return if an item was successfuly 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_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_SPELL_ACTIVATED
Sent from /datum/action/cooldown/spell/set_click_ability() to the caster: (datum/action/cooldown/spell/spell)
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/hit, atom/firer, obj/projectile/source)
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)
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_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.