cursed
Status effect that gives the target miscellanous debuffs while throwing a status alert and causing them to smoke from the damage they're incurring. Purposebuilt for cursed slot machines.
Vars | |
branded_hand | The hand we are branded to. |
---|---|
curse_count | The amount of times we have been "applied" to the target. |
damage_chance | Raw probability we have to deal damage this tick. |
max_curse_count | The max number of curses a target can incur with this status effect. |
monologuing | Are we currently in the process of sending a monologue? |
Procs | |
check_curses | Checks the number of curses we have and returns information back to the slot machine. max_curse_amount is set by the slot machine itself. |
clear_curses | Cleans ourselves up and removes our curses. Meant to be done in a "positive" way, when the curse is broken. Directly use qdel otherwise. |
handle_after_effects | Makes a nice lorey message about the curse level we're at. I think it's nice |
on_death | If our owner dies without getting gibbed, we gib them, because fuck you baltamore |
on_stat_changed | If our owner's stat changes, rapidly surge the damage chance. |
update_curse_count | Handles the debuffs of this status effect and incrementing the number of curses we have. |
Var Details
branded_hand
The hand we are branded to.
curse_count
The amount of times we have been "applied" to the target.
damage_chance
Raw probability we have to deal damage this tick.
max_curse_count
The max number of curses a target can incur with this status effect.
monologuing
Are we currently in the process of sending a monologue?
Proc Details
check_curses
Checks the number of curses we have and returns information back to the slot machine. max_curse_amount
is set by the slot machine itself.
clear_curses
Cleans ourselves up and removes our curses. Meant to be done in a "positive" way, when the curse is broken. Directly use qdel otherwise.
handle_after_effects
Makes a nice lorey message about the curse level we're at. I think it's nice
on_death
If our owner dies without getting gibbed, we gib them, because fuck you baltamore
on_stat_changed
If our owner's stat changes, rapidly surge the damage chance.
update_curse_count
Handles the debuffs of this status effect and incrementing the number of curses we have.