#pragma once #include #ifdef SVQC float autocvar_g_buffs_magnet_range_item; float autocvar_g_buffs_magnet_range_buff = 200; #endif // SVQC CLASS(MagnetBuff, Buff) ATTRIB(MagnetBuff, m_name, string, _("Magnet")); ATTRIB(MagnetBuff, netname, string, "magnet"); ATTRIB(MagnetBuff, m_icon, string, "buff_magnet"); ATTRIB(MagnetBuff, m_skin, int, 18); ATTRIB(MagnetBuff, m_color, vector, '1 0.95 0.18'); ENDCLASS(MagnetBuff) REGISTER_BUFF(MAGNET, NEW(MagnetBuff)); BUFF_SPAWNFUNCS(magnet, BUFF_MAGNET)