Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 23s ago· Viewing build 6722 (Sep 29 2026), not the latest

upgrade_counterspell/modifier_active

modifier

class modifier_base · defined in upgrade_counterspell (Counterspell) at m_AutoIntrinsicModifiers.0.m_BuffModifier

Deadworks (C#)
pawn.AddModifier("upgrade_counterspell/modifier_active", new Dictionary<string, float> {
	["SpiritPower"] = 20f,
	["BonusMoveSpeed"] = 1.75f,
});

Ability values

Read from Counterspell's properties. Pass overrides to AddModifier to apply it with other values, or without the ability.

ValueEnglish labelAbility's value
SpiritPowerSpirit Power20
BonusMoveSpeedMove Speed1.75m

VData

_class"modifier_base"
m_bIsHiddentrue
_my_subclass_name"modifier_active"
m_sLocalizationName"upgrade_counterspell"
m_strHudMessageText"#upgrade_counterspell"
m_strParticleEffect"particles/upgrades/spellbreaker_buff.vpcf"
m_strParticleStatusEffect""

History

  1. 6696–6745first dumped