]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/buffs/sv_buffs.qh
Experimental status effects system: general backend for buffs and debuffs networked...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / buffs / sv_buffs.qh
index 0a39b35eb42a0a486d1fb7b2cf4e0a8372c5dd76..1b095c0f2c50db47956e4e85ec6034648af1ea04 100644 (file)
@@ -80,7 +80,7 @@ float autocvar_g_buffs_luck_damagemultiplier = 3;
 .float buff_activetime;
 .float buff_activetime_updated;
 .entity buff_waypoint;
-.int oldbuffs; // for updating effects
+.entity oldbuffs; // for updating effects
 .float buff_shield; // delay for players to keep them from spamming buff pickups
 .entity buff_model; // controls effects (TODO: make csqc)
 
@@ -91,3 +91,7 @@ const vector BUFF_MAX = ('16 16 60');
 .float cvar_cl_buffs_autoreplace;
 
 float buff_Available(entity buff);
+
+void buff_RemoveAll(entity actor, int removal_type);
+
+entity buff_FirstFromFlags(entity actor);