pawn.AddAbility("ability_viper_debuffdagger", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("ability_viper_debuffdagger");Ability values, by the name modifiers and AddModifier overrides use. Tier columns are what each upgrade adds; "scaling" is how much more the value grows with spirit power or another stat.
| Property | English label | Value | Tier 1 | Tier 2 | Tier 3 | Provides |
| Damage | Damage | 50 | ||||
| MaxStacks | Max Stacks | 3 | +2 | |||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| SlowPercent | Move Speed | 28 | ||||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| SlowDuration | Slow Duration | 2 | ||||
| StackDuration | Stack Duration | 10 | ||||
| AbilityCharges | Charges | 2 | +1 | |||
| DamagePerStack | Damage per Stack | 25 | ||||
| AbilityCooldown | Cooldown | 10 | ||||
| AbilityDuration | Duration | 0 | ||||
| AbilityCastDelay | Cast Delay | 0.2 | ||||
| AbilityCastRange | Cast Range | 0 | ||||
| ChannelMoveSpeed | -1 | |||||
| StaminaReduction | Stamina Reduction | 0 | ||||
| AbilityChannelTime | Channel Duration | 0 | ||||
| AbilityResourceCost | 0 | |||||
| SlowPercentPerStack | 12 | |||||
| BulletResistReduction | Bullet Resist | 0 | +-8 | |||
| CooldownRefundPercent | Cooldown Refund | 0 | +55 | |||
| AbilityUnitTargetLimit | 1 | |||||
| AbilityPostCastDuration | 0 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | 4.0 | +-2 | |||
| BulletResistReductionPerStack | Bullet Resist per Stack | 0 | +-6 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_viper_debuffdagger/debuff | modifier_citadel_viper_stackingdebuff | |
| ability_viper_debuffdagger/debuffdagger_debuff | modifier_diminishing_slow |
| _class | "ability_viper_debuffdagger" |
| _editor | 1 key{
"folder_name": "Hero Viper"
} |
| _multibase | 1 item[ "signature_base" ] |
| m_iMaxLevel | 1 |
| m_iUpdateTime | 0 |
| m_SlowModifier | 9 keys{
"_class": "modifier_diminishing_slow",
"m_bIsHidden": true,
"m_strHudIcon": "",
"_my_subclass_name": "debuffdagger_debuff",
"m_strParticleEffect": "particles/abilities/viper/viper_debuffdagger_debuff.vpcf",
"m_eDrawOverheadStatus": "OVERHEAD_DRAW_NEVER",
"m_eHudDisplayLocation": "DISPLAY_HUD_NONE",
"m_strSmallIconCssClass": "",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": []
} |
| m_eAbilityType | "EAbilityType_Signature" |
| m_strCastSound | "Viper.HookBlade.Cast" |
| m_bStartTrained | false |
| m_DebuffModifier | 8 keys{
"_class": "modifier_citadel_viper_stackingdebuff",
"m_bIsHidden": false,
"_my_subclass_name": "debuff",
"m_strParticleEffect": "particles/abilities/viper/viper_debuffdagger_stackingdebuff.vpcf",
"m_eDrawOverheadStatus": "OVERHEAD_DRAW_FOR_CASTER_ONLY",
"m_eHudDisplayLocation": "DISPLAY_HUD_NONE",
"m_strSmallIconCssClass": "modifier_viper_debuffdagger",
"m_eModifierDisplayLocaiton": "MODIFIER_DISPLAY_HEALTHBAR"
} |
| m_ImpactParticle | "particles/abilities/viper/viper_hookblade_impact.vpcf" |
| m_mapWeaponInfos | 1 key{
"primary": {
"m_Spread": 0.5,
"m_flRange": 10000,
"m_bCanCrit": true,
"m_bCanZoom": true,
"m_bSpinsUp": false,
"m_iBullets": 1,
"m_flZoomFOV": 70,
"m_iClipSize": 1,
"m_bIsSemiAuto": false,
"m_flCycleTime": 0.15,
"m_nRecoilSeed": 0,
"m_flBuildUpRate": -1,
"m_flBulletSpeed": 4200,
"m_flRecoilSpeed": 1,
"m_strShootSound": "",
"m_flBulletDamage": 0,
"m_flBulletRadius": 23,
"m_flCritBonusEnd": 1,
"m_reloadDuration": 0,
"m_NpcAimingSpread": 0,
"m_VerticallRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_bFiresBackwards": false,
"m_flSpinDecayRate": 0,
"m_flVerticalPunch": 1,
"m_iBurstShotCount": 1,
"m_strLowAmmoSound": "",
"m_HorizontalRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_flBulletLifetime": 2,
"m_flCritBonusStart": 1,
"m_flIronSightsTime": 0.1,
"m_mapImpactEffects": {
"default": {}
},
"m_flExplosionRadius": 0,
"m_flHorizontalPunch": 0.5,
"m_flScatterYawScale": 1,
"m_flVerticalAimBias": 0,
"m_vecScatterOffsets": [],
"m_flMaxSpinCycleTime": -1,
"m_flRangeWhileZoomed": 0,
"m_flSpinIncreaseRate": 0,
"m_flZoomFOV_Relative": -5,
"m_strBulletWhizSound": "Viper.HookBlade.Whizby",
"m_flAutoReplenishClip": 0,
"m_flCritBonusEndRange": 0,
"m_flDamageFalloffBias": 0.5,
"m_flSemiAutoCycleRate": -1,
"m_bReloadSingleBullets": false,
"m_flBulletGravityScale": 0.2,
"m_flBulletWhizDistance": 200,
"m_flPenetrationPercent": 0,
"m_flSpreadPenaltyDecay": 3,
"m_iAmmoConsumedPerShot": 1,
"m_eAttachmentSourceType": "EAttachmentSource_Custom",
"m_flBulletRadiusVsWorld": 5,
"m_flCritBonusStartRange": 0,
"m_flIntraBurstCycleTime": 0,
"m_flPelletScatterFactor": 1,
"m_flRecoilRecoverySpeed": 1,
"m_strBulletLoopingSound": "Viper.HookBlade.Proj.Lp",
"m_strWeaponImpactEffect": "",
"m_flCritBonusAgainstNPCs": 0.2,
"m_flDamageFalloffEndRange": -1,
"m_flDamageFalloffEndScale": 0,
"m_szMuzzleFlashEffectName": "",
"m_AimingShootSpreadPenalty": 0,
"m_bHitOnceAcrossAllBullets": true,
"m_flReloadMoveSpeedPercent": 1,
"m_bApplySpreadToFirstPellet": false,
"m_flBulletSpeedRandomFactor": 0,
"m_flDamageFalloffStartRange": -1,
"m_flDamageFalloffStartScale": 1,
"m_flShootSpreadPenaltyDecay": 1,
"m_flShootingUpSpreadPenalty": 0,
"m_strCustomAttachmentSource": "ability_cast",
"m_flPelletScatterSpreadFactor": 0.5,
"m_flRecoilRecoveryDelayFactor": 1,
"m_flShootSpreadPenaltyPerShot": 0,
"m_bAllowExplosionToCollectGold": false,
"m_szBulletTravelTracerParticle": "particles/abilities/viper/viper_debuffdagger_proj.vpcf",
"m_flShootSpreadPenaltyDecayDelay": -1,
"m_bReloadSingleBulletsAllowCancel": false,
"m_szSelfBulletTravelTracerParticle": "",
"m_bUseDesatForFriendlyNonHeroTracer": true,
"m_flExplosionDamageScaleAtMaxRadius": 0.3,
"m_flReloadSingleBulletsInitialDelay": 0,
"m_flBulletInheritShooterVelocityScale": 0,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25
}
} |
| m_projectileInfo | 32 keys{
"m_flSpeed": 3500,
"m_HitSound": "",
"m_particle": "",
"m_flUpSpeed": 100,
"m_flFriction": 0,
"m_nBehaviors": "",
"m_customModel": "",
"m_LoopingSound": "",
"m_WarningSound": "",
"m_flElasticity": 0,
"m_DetonateSound": "",
"m_flGravityScale": 1,
"m_flPhysicsRadius": 1.5,
"m_flTriggerRadius": 1.5,
"m_warningParticle": "",
"m_eProjectileShape": "Sphere",
"m_flMaxLinearRange": 0,
"m_flTrackingEndTime": 0,
"m_flVerticalAimBias": 0,
"m_flTrackingDuration": 0,
"m_flTrackingStartTime": 0,
"m_bHideWarningParticle": false,
"m_AutoProjectileModifier": {},
"m_flCapsulePhysicsRadius": 1.5,
"m_flCapsuleTriggerRadius": 1.5,
"m_flProjectileModelScale": 1,
"m_flTrackingStopDuration": -1,
"m_vecCapsulePhysicsCenter1": [
0,
0,
0
],
"m_vecCapsulePhysicsCenter2": [
0,
0,
0
],
"m_vecCapsuleTriggerCenter1": [
0,
0,
0
],
"m_vecCapsuleTriggerCenter2": [
0,
0,
0
],
"m_flTrackingDampingCoefficient": 0
} |
| m_strAbilityImage | "file://{images}/hud/abilities/viper/viper_debuffdagger.psd" |
| m_flBossDamageScale | 1 |
| m_sCustomStackLabel | "#CurrentBonus_label" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityPointsCost | 0 |
| m_strHitConfirmSound | "Viper.HookBlade.Impact" |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_ALL_ENEMY" |
| m_strAG2CastingAction | "dagger_casting" |
| m_strWorldImpactSound | "Viper.HookBlade.Impact_Miss" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_DONT_SWITCH_AWAY_ON_CAST | CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_PROJECTILE_FIRED_AS_BULLET | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST" |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_viper_debuffdagger_desc",
"m_vecBasicProperties": [],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "Damage"
}
]
},
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "SlowPercent"
},
{
"m_strImportantProperty": "BulletResistReduction"
}
],
"m_strPropertiesTitleLocString": "#ability_header_on_hit"
}
]
},
{
"m_vecBasicProperties": [
"StackDuration",
"MaxStacks"
],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "DamagePerStack"
},
{
"m_strImportantProperty": "SlowPercentPerStack"
},
{
"m_strImportantProperty": "BulletResistReductionPerStack"
}
],
"m_strPropertiesTitleLocString": "#ability_header_on_stack"
}
]
}
]
} |
| m_TriggerButtonOverride | "" |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "b_dagger" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_eAbilityTargetingShape | "CITADEL_ABILITY_TARGETING_SHAPE_SPHERE" |
| m_strCastAnimSequenceName | "" |
| m_strSelectionNameOverride | "" |
| m_TriggerButtonPreReqButton | "" |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_NONE" |
| m_strAbilityChargeReadySound | "" |
| m_strAbilityOffCooldownSound | "" |
| m_bitsChannelEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPreCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION | MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM" |
| m_bitsPostCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION | MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM" |
{
primary =
{
m_Spread = 0.5
m_flRange = 10000
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_iBullets = 1
m_flZoomFOV = 70
m_iClipSize = 1
m_bIsSemiAuto = false
m_flCycleTime = 0.15
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 4200
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletDamage = 0
m_flBulletRadius = 23
m_flCritBonusEnd = 1
m_reloadDuration = 0
m_NpcAimingSpread = 0
m_VerticallRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_bFiresBackwards = false
m_flSpinDecayRate = 0
m_flVerticalPunch = 1
m_iBurstShotCount = 1
m_strLowAmmoSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 2
m_flCritBonusStart = 1
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
default =
{
}
}
m_flExplosionRadius = 0
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_flVerticalAimBias = 0
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flRangeWhileZoomed = 0
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = "Viper.HookBlade.Whizby"
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0.2
m_flBulletWhizDistance = 200
m_flPenetrationPercent = 0
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_eAttachmentSourceType = "EAttachmentSource_Custom"
m_flBulletRadiusVsWorld = 5
m_flCritBonusStartRange = 0
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = "Viper.HookBlade.Proj.Lp"
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0.2
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0
m_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_bHitOnceAcrossAllBullets = true
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flBulletSpeedRandomFactor = 0
m_flDamageFalloffStartRange = -1
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 1
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "ability_cast"
m_flPelletScatterSpreadFactor = 0.5
m_flRecoilRecoveryDelayFactor = 1
m_flShootSpreadPenaltyPerShot = 0
m_bAllowExplosionToCollectGold = false
m_szBulletTravelTracerParticle = "particles/abilities/viper/viper_debuffdagger_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
}
}#CurrentBonus_label{
m_Spread = 0.5
m_flRange = 10000
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_iBullets = 1
m_flZoomFOV = 70
m_iClipSize = 1
m_bIsSemiAuto = false
m_flCycleTime = 0.15
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 4200
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletDamage = 0
m_flBulletRadius = 23
m_flCritBonusEnd = 1
m_reloadDuration = 0
m_NpcAimingSpread = 0
m_VerticallRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_bFiresBackwards = false
m_flSpinDecayRate = 0
m_flVerticalPunch = 1
m_iBurstShotCount = 1
m_strLowAmmoSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 2
m_flCritBonusStart = 1
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
default =
{
}
}
m_flExplosionRadius = 0
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_flVerticalAimBias = 0
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flRangeWhileZoomed = 0
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = "Viper.HookBlade.Whizby"
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0.2
m_flBulletWhizDistance = 200
m_flPenetrationPercent = 0
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_eAttachmentSourceType = "EAttachmentSource_Custom"
m_flBulletRadiusVsWorld = 5
m_flCritBonusStartRange = 0
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = "Viper.HookBlade.Proj.Lp"
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0.2
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0
m_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_bHitOnceAcrossAllBullets = true
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flBulletSpeedRandomFactor = 0
m_flDamageFalloffStartRange = -1
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 1
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "ability_cast"
m_flPelletScatterSpreadFactor = 0.5
m_flRecoilRecoveryDelayFactor = 1
m_flShootSpreadPenaltyPerShot = 0
m_bAllowExplosionToCollectGold = false
m_szBulletTravelTracerParticle = "particles/abilities/viper/viper_debuffdagger_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
}file://{resources}/videos/hero_abilities/viper_hook_dagger.webm