Xonotic
|
#include "sv_vampire.qh"
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (vampire, PlayerDamage_SplitHealthArmor) | |
MUTATOR_HOOKFUNCTION (vampire, BuildMutatorsString) | |
MUTATOR_HOOKFUNCTION (vampire, BuildMutatorsPrettyString) | |
REGISTER_MUTATOR (vampire, expr_evaluate(autocvar_g_vampire) &&!MUTATOR_IS_ENABLED(mutator_instagib)) | |
Variables | |
string | autocvar_g_vampire |
float | autocvar_g_vampire_factor = 1.0 |
bool | autocvar_g_vampire_use_total_damage = false |
MUTATOR_HOOKFUNCTION | ( | vampire | , |
PlayerDamage_SplitHealthArmor | |||
) |
Definition at line 9 of file sv_vampire.qc.
References autocvar_g_vampire_factor, autocvar_g_vampire_use_total_damage, bound(), entity(), GetResource(), GiveResource(), IS_DEAD, IS_PLAYER, M_ARGV, and RES_HEALTH.
MUTATOR_HOOKFUNCTION | ( | vampire | , |
BuildMutatorsString | |||
) |
Definition at line 25 of file sv_vampire.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | vampire | , |
BuildMutatorsPrettyString | |||
) |
Definition at line 30 of file sv_vampire.qc.
References M_ARGV, and strcat().
REGISTER_MUTATOR | ( | vampire | , |
expr_evaluate(autocvar_g_vampire) &&!MUTATOR_IS_ENABLED(mutator_instagib) | |||
) |
string autocvar_g_vampire |
Definition at line 3 of file sv_vampire.qc.
float autocvar_g_vampire_factor = 1.0 |
Definition at line 4 of file sv_vampire.qc.
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 5 of file sv_vampire.qc.
Referenced by MUTATOR_HOOKFUNCTION().