18 if (!StatusEffects_active(STATUSEFFECT_SpawnShield, frag_target) && frag_target != frag_attacker
19 &&
IS_PLAYER(frag_attacker) && !
IS_DEAD(frag_target) && !STAT(FROZEN, frag_target))
REGISTER_MUTATOR(vampire, expr_evaluate(autocvar_g_vampire) &&!MUTATOR_IS_ENABLED(mutator_instagib))
string autocvar_g_vampire
#define MUTATOR_IS_ENABLED(this)
float autocvar_g_vampire_factor
bool autocvar_g_vampire_use_total_damage
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
void GiveResource(entity receiver, Resource res_type, float amount)
Gives an entity some resource.
float GetResource(entity e, Resource res_type)
Returns the current amount of resource the given entity has.
MUTATOR_HOOKFUNCTION(vampire, PlayerDamage_SplitHealthArmor)
ERASEABLE bool expr_evaluate(string s)
Evaluate an expression of the form: [+ | -]? [var[op]val | [op]var | val | var] ...