pawn.AddModifier("upgrade_siphon_bullets/modifier_siphon_bullets", new Dictionary<string, float> {
["BaseAttackDamagePercent"] = 15f,
["BulletResist"] = 10f,
});Read from Siphon Bullets's properties. Pass overrides to AddModifier to apply it with other values, or without the ability.
| Value | English label | Ability's value |
| BaseAttackDamagePercent | Weapon Damage | 15 |
| BulletResist | Bullet Resist | 10 |
| _class | "modifier_siphon_bullets" |
| m_bIsHidden | true |
| m_TracerParticle | "particles/weapon_fx/emp_bullets_tracer.vpcf" |
| _my_subclass_name | "modifier_siphon_bullets" |
| m_vecProcDamageTypes | 1 item[ "CITADEL_DAMAGETYPE_BULLET" ] |
| m_StealWatcherModifier | 6 keys{
"_class": "modifier_siphon_bullets_watcher",
"m_bIsHidden": true,
"m_HealModifier": {
"_class": "modifier_siphon_bullets_restore_health",
"m_bIsHidden": true,
"_my_subclass_name": "modifier_siphon_bullets_restore_health",
"m_nEnabledStateMask": "MODIFIER_STATE_DO_NOT_ADJUST_HEALTH_ON_MAXHEALTH_CHANGE"
},
"_my_subclass_name": "modifier_siphon_bullets_watcher",
"m_StatStolenBuffModifier": {
"_class": "modifier_base",
"_my_subclass_name": "modifier_siphon_bullets_health_gain",
"m_sLocalizationName": "modifier_siphon_bullets_health_gain",
"m_strParticleEffect": "particles/upgrades/siphon_bullets_buff.vpcf",
"m_eHudDisplayLocation": "DISPLAY_HUD_NONE",
"m_strSmallIconCssClass": "siphon_bullets",
"m_eModifierDisplayLocaiton": "MODIFIER_DISPLAY_HEALTHBAR"
},
"m_StatStolenDebuffModifier": {
"_class": "modifier_siphon_bullets_health_loss",
"m_nAttributes": "MODIFIER_ATTRIBUTE_MULTIPLE",
"m_HealModifier": {
"_class": "modifier_siphon_bullets_restore_health",
"m_bIsHidden": true,
"_my_subclass_name": "modifier_siphon_bullets_restore_health",
"m_nEnabledStateMask": "MODIFIER_STATE_DO_NOT_ADJUST_HEALTH_ON_MAXHEALTH_CHANGE"
},
"m_SiphonParticle": "particles/upgrades/siphon_bullets_proc.vpcf",
"_my_subclass_name": "modifier_siphon_bullets_health_loss",
"m_nEnabledStateMask": "MODIFIER_STATE_SIPHON_BULLET_LOSS",
"m_sLocalizationName": "modifier_siphon_bullets_health_loss",
"m_strParticleEffect": "particles/upgrades/siphon_bullets_debuff.vpcf",
"m_eDrawOverheadStatus": "OVERHEAD_DRAW_FOR_EVERYONE",
"m_eHudDisplayLocation": "DISPLAY_HUD_NONE",
"m_strSmallIconCssClass": "siphon_bullets",
"m_eModifierDisplayLocaiton": "MODIFIER_DISPLAY_HEALTHBAR"
}
} |
| m_bRequiresTargetFilter | true |
| m_bCanProcByOtherObjects | true |
| m_bShouldApplyAbilityCooldown | false |