pawn.AddAbility("ability_charged_shot", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("ability_charged_shot");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 | 80 | +54 | +1 spirit scaling | ||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| AirSpeedMax | 161.417 | |||||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| FallSpeedMax | 60 | |||||
| AbilityCharges | Charges | 1 | +1 | |||
| AbilityCooldown | Cooldown | 17 | ||||
| AbilityDuration | Duration | 0 | ||||
| AbilityCastDelay | Cast Delay | 0.5 | ||||
| AbilityCastRange | Cast Range | 0 | ||||
| ChannelMoveSpeed | 1.5m | |||||
| AbilityChannelTime | Channel Duration | 9999 | ||||
| CameraHeightOffset | 20 | |||||
| AbilityResourceCost | 0 | |||||
| TechCleaveExpireTime | 0.2 | |||||
| AbilityUnitTargetLimit | 1 | |||||
| CameraHorizontalOffset | 15 | |||||
| AbilityPostCastDuration | 0 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | 4 | +-3 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_charged_shot/modifier_intrinsic_base | modifier_intrinsic_base |
| _class | "ability_charged_shot" |
| _editor | 1 key{
"folder_name": "Hero Orion"
} |
| _multibase | 2 items[ "signature_base", "weapon_info_base" ] |
| m_HUDPanel | 1 key{
"m_vecHUDElements": [
{
"m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_PROGRESS",
"m_Layout": "file://{resources}/layout/ability_hud_elements/element_converging_semi_circles.vxml",
"m_strContext": "cast"
},
{
"m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_PROGRESS",
"m_Layout": "file://{resources}/layout/ability_hud_elements/element_circular_progress.vxml",
"m_strContext": "channel",
"m_bReverseProgress": true
}
]
} |
| m_iMaxLevel | 1 |
| m_WeaponInfo | 57 keys{
"m_Spread": 0.5,
"m_flRange": 10000,
"m_bCanZoom": true,
"m_iBullets": 1,
"m_flZoomFOV": 35,
"m_iClipSize": 1,
"m_flCycleTime": 0.3,
"m_flBulletSpeed": 8000,
"m_flRecoilSpeed": 1,
"m_StandingSpread": 1.5,
"m_flBulletRadius": 24,
"m_flCritBonusEnd": 1.65,
"m_reloadDuration": 1.5,
"m_VerticallRecoil": {
"m_Range": [
-0.2,
0.2
],
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 0
},
"m_flVerticalPunch": 0,
"m_iBurstShotCount": 1,
"m_HorizontalRecoil": {
"m_Range": [
-0.1,
0.1
],
"m_flBurstExponent": 0
},
"m_flBulletLifetime": 5,
"m_flCritBonusStart": 1.65,
"m_mapImpactEffects": {
"flesh": {
"m_strDecal": "",
"m_strParticle": "particles/blood_impact/blood_impact_red_01.vpcf"
},
"default": {
"m_strDecal": "Impact.Concrete",
"m_strSound": "Orion.Charged.Shot.Proj.Impact",
"m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
},
"portals": {
"m_strDecal": "Impact.Concrete",
"m_strSound": "",
"m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
},
"concrete": {
"m_strDecal": "Impact.Concrete",
"m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
},
"solidmetal": {
"m_strDecal": "Impact.Concrete",
"m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
}
},
"m_flHorizontalPunch": 0,
"m_flReloadMoveSpeed": "10000",
"m_flScatterYawScale": 1,
"m_vecScatterOffsets": [
[
0,
0
],
[
1,
0
],
[
-1,
0
],
[
2,
0
],
[
-2,
0
],
[
3,
0
],
[
-3,
0
],
[
4,
0
],
[
-4,
0
],
[
5,
0
],
[
-5,
0
],
[
6,
0
],
[
-6,
0
],
[
7,
0
],
[
-7,
0
],
[
8,
0
],
[
-8,
0
]
],
"m_flZoomFOV_Relative": -40,
"m_strBulletWhizSound": "Orion.Charged.Shot.Whizby",
"m_flBurstShotCooldown": 0,
"m_flCritBonusEndRange": 1500,
"m_flDamageFalloffBias": 0.5,
"m_flBulletGravityScale": 0.3,
"m_flBulletReflectScale": 0,
"m_flBulletWhizDistance": 80,
"m_flPenetrationPercent": 100,
"m_flBulletRadiusVsWorld": 7,
"m_flBulletReflectAmount": 1,
"m_flCritBonusStartRange": 500,
"m_flPelletScatterFactor": 2,
"m_flRecoilRecoverySpeed": 10,
"m_strWeaponImpactEffect": "particles/abilities/archer/archer_charged_shot_proj_endcap.vpcf",
"m_flCritBonusAgainstNPCs": 0,
"m_flZoomMoveSpeedPercent": 1,
"m_flDamageFalloffEndRange": -1,
"m_flDamageFalloffEndScale": 0.1,
"m_flShootMoveSpeedPercent": 0.75,
"m_szMuzzleFlashEffectName": "",
"m_bHitOnceAcrossAllBullets": true,
"m_flDamageFalloffStartRange": -1,
"m_flDamageFalloffStartScale": 1,
"m_flShootSpreadPenaltyDecay": 2,
"m_flShootingUpSpreadPenalty": 0,
"m_flShootSpreadPenaltyPerShot": 0,
"m_szBulletTravelTracerParticle": "particles/abilities/archer/archer_charged_shot_proj.vpcf",
"m_flShootSpreadPenaltyDecayDelay": 0,
"m_strLocalPlayerBulletImpactSound": "Player.Bullet.Impact.Default",
"m_flBulletInheritShooterVelocityScale": 0,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
"m_strLocalPlayerBulletImpactHeavySound": "Player.Bullet.Impact.Default"
} |
| m_iUpdateTime | 1668635902 |
| m_eAbilityType | "EAbilityType_Signature" |
| m_strCastSound | "Orion.Charged.Shot.Cast" |
| m_ShootParticle | "particles/abilities/archer/archer_charged_shot_channel_shock.vpcf" |
| m_bStartTrained | false |
| m_ChannelParticle | "particles/abilities/archer/archer_charged_shot_channel.vpcf" |
| m_strAbilityImage | "file://{images}/hud/abilities/archer/archer_charged_shot.psd" |
| m_flBossDamageScale | 1 |
| m_strCastDelaySound | "Orion.Charged.Shot.CastDelay" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityPointsCost | 0 |
| m_AutoChannelModifier | 2 keys{
"_class": "modifier_intrinsic_base",
"_my_subclass_name": "modifier_intrinsic_base"
} |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_MINION_FRIENDLY | CITADEL_UNIT_TARGET_ALL_ENEMY | CITADEL_UNIT_TARGET_GOLD_ORBS | CITADEL_UNIT_TARGET_ABILLITY_TRIGGER" |
| m_strAG2CastingAction | "charged_shot_casting" |
| m_strChannelLoopSound | "Orion.Charged.Shot.Channeling.Lp" |
| m_strDamageTakenSound | "Orion.Charged.Shot.Target.Damage.Taken" |
| m_strMoviePreviewPath | "file://{resources}/videos/hero_abilities/ability_orion_charged_shot.webm" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_CHANNELLED | CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST" |
| m_ChannelStartParticle | "particles/abilities/archer/archer_charged_shot_channel_start.vpcf" |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_charged_shot_desc",
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "Damage"
}
]
}
]
}
]
} |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "e_ChargedShot" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_strAG2ChannelingAction | "charged_shot_channeling" |
| m_cameraSequenceCastStart | 2 keys{
"m_nPriority": 100,
"m_vecFOVOperations": [
{
"m_flSpringTarget": 50,
"m_bSpringToDefault": false,
"m_eCameraOperation": "k_ECameraOp_Spring"
}
]
} |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_SELF" |
| m_strAG2CastCompletedAction | "charged_shot_cast_completed" |
| m_cameraSequenceChannelStart | 2 keys{
"m_nPriority": 100,
"m_vecFOVOperations": [
{
"m_eCameraOperation": "k_ECameraOp_Maintain",
"m_bValuesAreRelative": false
}
]
} |
| m_strAbilityChargeReadySound | "" |
| m_strAbilityOffCooldownSound | "" |
| m_bitsChannelEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPreCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPostCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
{
primary =
{
m_Spread = 0.5
m_flRange = 10000
m_bCanZoom = true
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = 1
m_flCycleTime = 0.3
m_flBulletSpeed = 8000
m_flRecoilSpeed = 1
m_StandingSpread = 1.5
m_flBulletRadius = 24
m_flCritBonusEnd = 1.65
m_reloadDuration = 1.5
m_VerticallRecoil =
{
m_Range = [ -0.2, 0.2 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_HorizontalRecoil =
{
m_Range = [ -0.1, 0.1 ]
m_flBurstExponent = 0
}
m_flBulletLifetime = 5
m_flCritBonusStart = 1.65
m_mapImpactEffects =
{
wood =
{
m_strDecal = "Impact.Wood"
m_strParticle = "particles/impact_fx/impact_wood.vpcf"
}
flesh =
{
m_strDecal = ""
m_strParticle = "particles/blood_impact/blood_impact_red_01.vpcf"
}
default =
{
m_strDecal = "Impact.Concrete"
m_strSound = "Default.BulletImpact"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
portals =
{
m_strDecal = "Impact.Concrete"
m_strSound = ""
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
concrete =
{
m_strDecal = "Impact.Concrete"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
solidmetal =
{
m_strDecal = "Impact.Concrete"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
wood_plank =
{
m_strDecal = "Impact.Wood"
m_strParticle = "particles/impact_fx/impact_wood.vpcf"
}
}
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_vecScatterOffsets =
[
[ 0, 0 ],
[ 1, 0 ],
[ -1, 0 ],
[ 2, 0 ],
[ -2, 0 ],
[ 3, 0 ],
[ -3, 0 ],
[ 4, 0 ],
[ -4, 0 ],
[ 5, 0 ],
[ -5, 0 ],
[ 6, 0 ],
[ -6, 0 ],
[ 7, 0 ],
[ -7, 0 ],
[ 8, 0 ],
[ -8, 0 ],
]
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Orion.Charged.Shot.Whizby"
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0.3
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_flPenetrationPercent = 100
m_flBulletRadiusVsWorld = 7
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 2
m_flRecoilRecoverySpeed = 10
m_strWeaponImpactEffect = "particles/abilities/archer/archer_charged_shot_proj_endcap.vpcf"
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0.1
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = ""
m_bHitOnceAcrossAllBullets = true
m_flDamageFalloffStartRange = -1
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 2
m_flShootingUpSpreadPenalty = 0
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/abilities/archer/archer_charged_shot_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Default"
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Default"
}
}#CurrentBonus_label+CITADEL_UNIT_TARGET_ABILITY_TRIGGER−CITADEL_UNIT_TARGET_ABILLITY_TRIGGER{
}Orion.Charged.Shot.Hit{
m_Spread = 0.5
m_flRange = 10000
m_bCanZoom = true
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = 1
m_flCycleTime = 0.3
m_flBulletSpeed = 8000
m_flRecoilSpeed = 1
m_StandingSpread = 1.5
m_flBulletRadius = 24
m_flCritBonusEnd = 1.65
m_reloadDuration = 1.5
m_VerticallRecoil =
{
m_Range = [ -0.2, 0.2 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_HorizontalRecoil =
{
m_Range = [ -0.1, 0.1 ]
m_flBurstExponent = 0
}
m_flBulletLifetime = 5
m_flCritBonusStart = 1.65
m_mapImpactEffects =
{
flesh =
{
m_strDecal = ""
m_strParticle = "particles/blood_impact/blood_impact_red_01.vpcf"
}
default =
{
m_strDecal = "Impact.Concrete"
m_strSound = "Orion.Charged.Shot.Proj.Impact"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
portals =
{
m_strDecal = "Impact.Concrete"
m_strSound = ""
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
concrete =
{
m_strDecal = "Impact.Concrete"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
solidmetal =
{
m_strDecal = "Impact.Concrete"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
}
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_vecScatterOffsets =
[
[ 0, 0 ],
[ 1, 0 ],
[ -1, 0 ],
[ 2, 0 ],
[ -2, 0 ],
[ 3, 0 ],
[ -3, 0 ],
[ 4, 0 ],
[ -4, 0 ],
[ 5, 0 ],
[ -5, 0 ],
[ 6, 0 ],
[ -6, 0 ],
[ 7, 0 ],
[ -7, 0 ],
[ 8, 0 ],
[ -8, 0 ],
]
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Orion.Charged.Shot.Whizby"
m_flBurstShotCooldown = 0
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0.3
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_flPenetrationPercent = 100
m_flBulletRadiusVsWorld = 7
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flPelletScatterFactor = 2
m_flRecoilRecoverySpeed = 10
m_strWeaponImpactEffect = "particles/abilities/archer/archer_charged_shot_proj_endcap.vpcf"
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0.1
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = ""
m_bHitOnceAcrossAllBullets = true
m_flDamageFalloffStartRange = -1
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 2
m_flShootingUpSpreadPenalty = 0
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/abilities/archer/archer_charged_shot_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Default"
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Default"
}Orion.Charged.Shot.Target.Damage.Takenfile://{resources}/videos/hero_abilities/ability_orion_charged_shot.webm