#pragma once #include #ifdef SVQC float autocvar_g_buffs_vampire_damage_steal; #endif // SVQC CLASS(VampireBuff, Buff) ATTRIB(VampireBuff, m_name, string, _("Vampire")); ATTRIB(VampireBuff, netname, string, "vampire"); ATTRIB(VampireBuff, m_icon, string, "buff_vampire"); ATTRIB(VampireBuff, m_skin, int, 2); ATTRIB(VampireBuff, m_color, vector, '1 0 0.24'); ENDCLASS(VampireBuff) REGISTER_BUFF(VAMPIRE, NEW(VampireBuff)); BUFF_SPAWNFUNCS(vampire, BUFF_VAMPIRE) BUFF_SPAWNFUNC_Q3COMPAT(holdable_invulnerability, BUFF_VAMPIRE)