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

Go to the source code of this file.

Functions

float buff_Luck_CalculateDamage (float frag_damage)

Function Documentation

◆ buff_Luck_CalculateDamage()

float buff_Luck_CalculateDamage ( float frag_damage)

Definition at line 4 of file luck.qc.

5{
9 return frag_damage;
10}
float autocvar_g_buffs_luck_chance
Definition luck.qh:6
float autocvar_g_buffs_luck_damagemultiplier
Definition luck.qh:7
float random(void)
float frag_damage
Definition sv_ctf.qc:2322

References autocvar_g_buffs_luck_chance, autocvar_g_buffs_luck_damagemultiplier, frag_damage, and random().

Referenced by MUTATOR_HOOKFUNCTION().