/tg/ Station 13 - Modules - TypesProc Details

manipulator

Procs

afterattackhandles inhand use of blood rites on constructs, humans, or non-living blood sources
attack_selfhandles untargeted use of blood rites
blood_drawhandles blood rites use on turfs, blood pools, and blood trails
drain_victimused to ensure the proc returns TRUE if we completely restore an undamaged persons blood how much blood we are capable of restoring, based on spell charges how much damage we can/will heal how many spell charges will be consumed to heal said damage handles blood rites use on a non-cultist human
heal_constructhandles blood rites usage on constructs
heal_cultisthandles blood rites usage on human cultists

Proc Details

afterattack

handles inhand use of blood rites on constructs, humans, or non-living blood sources

see '/obj/item/melee/blood_magic/manipulator/proc/heal_construct' for construct/shade behavior see '/obj/item/melee/blood_magic/manipulator/proc/heal_cultist' for human cultist behavior see '/obj/item/melee/blood_magic/manipulator/proc/drain_victim' for human non-cultist behavior if any of the above procs return FALSE, '/obj/item/melee/blood_magic/afterattack' will not be called

'/obj/item/melee/blood_magic/manipulator/proc/blood_draw' handles blood pools/trails and does not affect parent proc

attack_self

handles untargeted use of blood rites

allows user to trade in spell uses for equipment or spells

blood_draw

handles blood rites use on turfs, blood pools, and blood trails

drain_victim

used to ensure the proc returns TRUE if we completely restore an undamaged persons blood how much blood we are capable of restoring, based on spell charges how much damage we can/will heal how many spell charges will be consumed to heal said damage handles blood rites use on a non-cultist human

returns TRUE if blood is successfully drained from the victim

heal_construct

handles blood rites usage on constructs

will only return TRUE if some amount healing is done

heal_cultist

handles blood rites usage on human cultists

first restores blood, then heals damage. healing damage is more expensive, especially if performed on oneself returns TRUE if some amount of blood is restored and/or damage is healed