#pragma once #include #ifdef SVQC float autocvar_g_buffs_swapper_range; #endif // SVQC CLASS(SwapperBuff, Buff) ATTRIB(SwapperBuff, m_name, string, _("Swapper")); ATTRIB(SwapperBuff, netname, string, "swapper"); ATTRIB(SwapperBuff, m_icon, string, "buff_swapper"); ATTRIB(SwapperBuff, m_skin, int, 17); ATTRIB(SwapperBuff, m_color, vector, '0.63 0.36 1'); ENDCLASS(SwapperBuff) REGISTER_BUFF(SWAPPER, NEW(SwapperBuff)); BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER) BUFF_SPAWNFUNC_Q3COMPAT(holdable_teleporter, BUFF_SWAPPER)