Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
disability.qh File Reference
Include dependency graph for disability.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DisabilityBuff

Functions

void buff_Disability_ApplyStunned (entity frag_target, entity frag_attacker)
 REGISTER_BUFF (DISABILITY, NEW(DisabilityBuff))

Variables

float autocvar_g_buffs_disability_attack_time_multiplier
float autocvar_g_buffs_disability_slowtime
float autocvar_g_buffs_disability_speed
float autocvar_g_buffs_disability_weaponspeed

Function Documentation

◆ buff_Disability_ApplyStunned()

void buff_Disability_ApplyStunned ( entity frag_target,
entity frag_attacker )

Definition at line 4 of file disability.qc.

5{
6 if (frag_target != frag_attacker)
8}
float time
float autocvar_g_buffs_disability_slowtime
Definition disability.qh:6
void StatusEffects_apply(StatusEffect this, entity actor, float eff_time, int eff_flags)
entity frag_target
Definition sv_ctf.qc:2321

References autocvar_g_buffs_disability_slowtime, entity(), frag_target, StatusEffects_apply(), and time.

Referenced by MUTATOR_HOOKFUNCTION().

◆ REGISTER_BUFF()

REGISTER_BUFF ( DISABILITY ,
NEW(DisabilityBuff)  )

References BUFF_SPAWNFUNCS, NEW, and REGISTER_BUFF.

Variable Documentation

◆ autocvar_g_buffs_disability_attack_time_multiplier

float autocvar_g_buffs_disability_attack_time_multiplier

Definition at line 8 of file disability.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ autocvar_g_buffs_disability_slowtime

float autocvar_g_buffs_disability_slowtime

Definition at line 6 of file disability.qh.

Referenced by buff_Disability_ApplyStunned().

◆ autocvar_g_buffs_disability_speed

float autocvar_g_buffs_disability_speed

Definition at line 7 of file disability.qh.

Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().

◆ autocvar_g_buffs_disability_weaponspeed

float autocvar_g_buffs_disability_weaponspeed

Definition at line 9 of file disability.qh.

Referenced by MUTATOR_HOOKFUNCTION().