ability_power_surge/modifier_power_surge
Chain Lightningmodifierclass modifier_power_surge · defined in ability_power_surge (Power Surge) at m_BuffModifier
Deadworks (C#)
pawn.AddModifier("ability_power_surge/modifier_power_surge", new Dictionary<string, float> {
["BonusMoveSpeed"] = 0f,
});Ability values
Read from Power Surge's properties. Pass overrides to AddModifier to apply it with other values, or without the ability.
VData
| _class | "modifier_power_surge" |
| m_bIsHidden | true |
| m_sExpiredSound | "Gigawatt.PowerSurge.End" |
| m_DebuffModifier | 7 keys{
"_class": "modifier_base",
"m_bIsHidden": true,
"m_bPrivateAccess": false,
"_my_subclass_name": "modifier_power_surge_debuff",
"m_sLocalizationName": "modifier_power_surge_debuff",
"m_strParticleEffect": "particles/upgrades/tech_resist_debuff.vpcf",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"TechResistDebuff"
]
} |
| m_TracerParticle | "particles/weapon_fx/electric_bullets_tracer.vpcf" |
| _my_subclass_name | "modifier_power_surge" |
| m_WeaponFxParticle | "particles/abilities/gigawatt/gigawatt_voltage_drain_buff.vpcf" |
| m_sLocalizationName | "modifier_power_surge" |
| m_strParticleEffect | "particles/abilities/gigawatt/gigawatt_power_surge_buff_base_ring_pnt.vpcf" |
| m_strBulletWhizSound | "Gigawatt.BulletWhizby.PowerSurge" |
| m_strWeaponShootSound | "Gigawatt.Wpn.Fire.PowerSurge" |
| m_sAmbientLoopingSound | "Gigawatt.PowerSurge.Lp" |
| m_strParticleStatusEffect | "" |