#pragma once #include #ifdef SVQC float autocvar_g_buffs_jump_height; float buff_Jump_ChangeDamage(float frag_damage, float frag_deathtype); #endif // SVQC CLASS(JumpBuff, Buff) ATTRIB(JumpBuff, m_name, string, _("Jump")); ATTRIB(JumpBuff, netname, string, "jump"); ATTRIB(JumpBuff, m_icon, string, "buff_jump"); ATTRIB(JumpBuff, m_skin, int, 10); ATTRIB(JumpBuff, m_color, vector, '0.24 0.78 1'); ENDCLASS(JumpBuff) REGISTER_BUFF(JUMP, NEW(JumpBuff)); BUFF_SPAWNFUNCS(jump, BUFF_JUMP) BUFF_SPAWNFUNC_Q3COMPAT(item_jumper, BUFF_JUMP)