Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
resistance.qc
Go to the documentation of this file.
1#include "resistance.qh"
2
3#ifdef SVQC
8#endif // SVQC
9#ifdef MENUQC
10METHOD(ResistanceBuff, describe, string(ResistanceBuff this))
11{
12 TC(ResistanceBuff, this);
14 PAR(_("The %s buff greatly reduces your damage taken while the buff is active."), COLORED_NAME(this));
15 PAR(_("This also impacts the damage you deal to yourself."));
16 return PAGE_TEXT;
17}
18#endif // MENUQC
#define COLORED_NAME(this)
Definition color.qh:195
#define TC(T, sym)
Definition _all.inc:82
float bound(float min, float value, float max)
#define METHOD(cname, name, prototype)
Definition oo.qh:269
float buff_Resistance_CalculateDamage(float frag_damage)
Definition resistance.qc:4
float autocvar_g_buffs_resistance_blockpercent
Definition resistance.qh:6
#define PAGE_TEXT
Definition string.qh:643
#define PAR(...)
Adds an individually translatable paragraph to PAGE_TEXT without having to deal with strcat and sprin...
Definition string.qh:649
#define PAGE_TEXT_INIT()
Definition string.qh:642
float frag_damage
Definition sv_ctf.qc:2322