diablerie 
"Diablerie" thing is entirely World of Darkness reference. In simple terms, 'diablerie' is the act of a vampire killing another vampire by draining all of their blood, thereby taking their soul and becoming more powerful. The word "diablerie" comes from French "diable" + "erie", which means something like "devilish practice"
Vars | |
| diablerie_aura | Reference to diablerie aura. On level 1 only vampires can see it, at level ASCENDED_AURA_LEVEL — everyone |
|---|---|
| diablerie_count | Amount of times we performed diablerie on someone, limit is DIABLERIE_COUNT_MAX. Matches current diablerie level |
| diablerie_levels | Static list of initialized diablerie levels |
| old_unarmed | Used to store user unarmed attack datum to retrieve it, because we modify it |
| vampire | Reference to the vampire, owner of vampire datum |
| vampire_datum | Reference to vampire antagonist datum, owner of this diablerie datum |
Procs | |
| add_diablerie_aura | Handles both cases of adding aura: just hud for vampires or the effect if we have ascended aura. If 'ascended' set to 'TRUE', applies to the vampire the ascended aura seen by anyone |
| add_diablerie_hud | Adds DIABLERIE_AURA_HUD to the vampire to avoid using see_invis, only for levels below ASCENDED_AURA_LEVEL |
| announce_vampire_ascended | Handles vampire ascension announcment and changes security code to GAMMA |
| announce_vampire_fallen | Handles vampire death announcment and changes security code to RED |
| apply_additional_bonuses | Every diablerie level increases amount of blood taken from victim per cycle by DIABLERIE_SUCKING_AMOUNT and applies DIABLERIE_COOLDOWN_REDUCTION bonus on every active spell vampire has |
| decrease_diablerie_level | Decreases diablerie level by one |
| force_diablerie_level | Proc to force certain diablerie level, used by traitor panel |
| increase_diablerie_level | Increases diablerie level by one |
| remove_additional_bonuses | Proc to properly remove bonuses from dibalerie level if it has been decreased |
| remove_diablerie_aura | Handles both cases of removing aura: removing vampire from hud or deleting the effect if we have ascended aura if 'ascended' set to 'TRUE', removes from the vampire and deletes the diablerie_aura effect |
| remove_diablerie_hud | Removes DIABLERIE_AURA_HUD from the vampire |
| transfer_diablerie_aura | Proc to transfer diablerie aura from one mob to another, when transforming or transfering bodies |
Var Details
diablerie_aura 
Reference to diablerie aura. On level 1 only vampires can see it, at level ASCENDED_AURA_LEVEL — everyone
diablerie_count 
Amount of times we performed diablerie on someone, limit is DIABLERIE_COUNT_MAX. Matches current diablerie level
diablerie_levels 
Static list of initialized diablerie levels
old_unarmed 
Used to store user unarmed attack datum to retrieve it, because we modify it
vampire 
Reference to the vampire, owner of vampire datum
vampire_datum 
Reference to vampire antagonist datum, owner of this diablerie datum
Proc Details
add_diablerie_aura
Handles both cases of adding aura: just hud for vampires or the effect if we have ascended aura. If 'ascended' set to 'TRUE', applies to the vampire the ascended aura seen by anyone
add_diablerie_hud
Adds DIABLERIE_AURA_HUD to the vampire to avoid using see_invis, only for levels below ASCENDED_AURA_LEVEL
announce_vampire_ascended
Handles vampire ascension announcment and changes security code to GAMMA
announce_vampire_fallen
Handles vampire death announcment and changes security code to RED
apply_additional_bonuses
Every diablerie level increases amount of blood taken from victim per cycle by DIABLERIE_SUCKING_AMOUNT and applies DIABLERIE_COOLDOWN_REDUCTION bonus on every active spell vampire has
decrease_diablerie_level
Decreases diablerie level by one
force_diablerie_level
Proc to force certain diablerie level, used by traitor panel
Arguments:
- level_to_force - Diablerie level we want to force on a vampire
increase_diablerie_level
Increases diablerie level by one
remove_additional_bonuses
Proc to properly remove bonuses from dibalerie level if it has been decreased
remove_diablerie_aura
Handles both cases of removing aura: removing vampire from hud or deleting the effect if we have ascended aura if 'ascended' set to 'TRUE', removes from the vampire and deletes the diablerie_aura effect
remove_diablerie_hud
Removes DIABLERIE_AURA_HUD from the vampire
transfer_diablerie_aura
Proc to transfer diablerie aura from one mob to another, when transforming or transfering bodies
Arguments:
- old_body - Old body to remove aura from
- new_body - New body to transfer aura to