Xonotic
|
#include "sv_vampirehook.qh"
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (vh, GrappleHookThink) | |
REGISTER_MUTATOR (vh, expr_evaluate(autocvar_g_vampirehook)) | |
MUTATOR_HOOKFUNCTION | ( | vh | , |
GrappleHookThink | |||
) |
Definition at line 13 of file sv_vampirehook.qc.
References autocvar_g_vampirehook_damage, autocvar_g_vampirehook_damagerate, autocvar_g_vampirehook_teamheal, Damage(), DIFF_TEAM, DMG_NOWEP, entity(), GetResource(), IS_PLAYER, M_ARGV, min(), RES_HEALTH, SAME_TEAM, SetResourceExplicit(), TakeResource(), and time.
REGISTER_MUTATOR | ( | vh | , |
expr_evaluate(autocvar_g_vampirehook) | |||
) |
string autocvar_g_vampirehook |
Definition at line 3 of file sv_vampirehook.qc.
float autocvar_g_vampirehook_damage |
Definition at line 7 of file sv_vampirehook.qc.
Referenced by MUTATOR_HOOKFUNCTION().
float autocvar_g_vampirehook_damagerate |
Definition at line 8 of file sv_vampirehook.qc.
Referenced by MUTATOR_HOOKFUNCTION().
float autocvar_g_vampirehook_health_steal |
Definition at line 9 of file sv_vampirehook.qc.
bool autocvar_g_vampirehook_teamheal |
Definition at line 6 of file sv_vampirehook.qc.
Referenced by MUTATOR_HOOKFUNCTION().
float last_dmg |
Definition at line 11 of file sv_vampirehook.qc.