pawn.AddAbility("ability_magician_magicbolt", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("ability_magician_magicbolt");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 |
| Radius | Radius | 3.25m | ||||
| MaxDamage | Max Damage | 120 | +126 | |||
| MinDamage | Minimum Damage | 60 | ||||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| FireRateSlow | Fire Rate | 0 | +25 | FIRE_RATE_SLOW | ||
| MaxDamageTime | Time for Max Damage | 2 | ||||
| AbilityCharges | Charges | 1 | ||||
| CloneBoltDelay | 0.1 | |||||
| DebuffDuration | Debuff Duration | 0 | +5 | |||
| AbilityCooldown | Cooldown | 24 | +-13 | |||
| AbilityDuration | Duration | 0 | ||||
| AbilityCastDelay | Cast Delay | .1 | ||||
| AbilityCastRange | Cast Range | 500m | ||||
| ChannelMoveSpeed | -1 | |||||
| RedirectVelocity | 1500 | |||||
| AbilityChannelTime | Channel Duration | 0 | ||||
| ProjectileLifetime | 4 | |||||
| AbilityResourceCost | 0 | |||||
| CloneDamagePercentage | Assistant Damage | 50 | +50 | |||
| AbilityUnitTargetLimit | 1 | |||||
| AbilityPostCastDuration | .3 | |||||
| ProjectileRedirectCount | Max Redirects | 1 | ||||
| TechArmorDamageReduction | 0 | TECH_RESIST_REDUCTION | ||||
| InitialProjectileVelocity | 800 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | 3 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_magician_magicbolt/magician_magicbolt_debuff | modifier_base | FireRateSlow, TechArmorDamageReduction |
| _class | "ability_magician_magicbolt" |
| _editor | 1 key{
"folder_name": "Hero Magician"
} |
| _multibase | 1 item[ "signature_base" ] |
| m_HUDPanel | 2 keys{
"m_vecButtonHints": [
{
"m_nButton1": "IN_ABILITY1",
"m_eHintSide": "EButtonSide_Left",
"m_nPriority": 1,
"m_strContext": "magicbolt_redirect_hint",
"m_strLocToken": "#AbilityButtonHint_MagicBoltRedirect",
"m_bShowAbilityIcon": true
}
],
"m_vecHUDElements": [
{
"m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_UNIT_TARGET",
"m_strContext": "unit_target"
}
]
} |
| m_bDisabled | false |
| m_iMaxLevel | 1 |
| m_WeaponInfo | 95 keys{
"m_Spread": 0.2,
"m_flRange": 8192,
"m_bCanCrit": true,
"m_bCanZoom": true,
"m_bSpinsUp": false,
"m_iBullets": 1,
"m_flZoomFOV": 70,
"m_iClipSize": 0,
"m_bIsSemiAuto": false,
"m_flCycleTime": 0.15,
"m_nRecoilSeed": 0,
"m_flBuildUpRate": -1,
"m_flBulletSpeed": 0,
"m_flRecoilSpeed": 1,
"m_strShootSound": "",
"m_flBulletDamage": 0,
"m_flBulletRadius": 0,
"m_flCritBonusEnd": 1,
"m_reloadDuration": 0,
"m_strReloadSound": "",
"m_strSpinUpSound": "",
"m_strZoomInSound": "",
"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_strZoomOutSound": "",
"m_HorizontalRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_flBulletLifetime": 0,
"m_flCritBonusStart": 1,
"m_flIronSightsTime": 0.1,
"m_mapImpactEffects": {},
"m_strSpinDownSound": "",
"m_flExplosionRadius": 0,
"m_flHorizontalPunch": 0.5,
"m_flScatterYawScale": 1,
"m_flVerticalAimBias": 0,
"m_strReloadEndSound": "",
"m_vecScatterOffsets": [],
"m_flMaxSpinCycleTime": -1,
"m_flRangeWhileZoomed": 0,
"m_flSpinIncreaseRate": 0,
"m_flZoomFOV_Relative": -5,
"m_strBulletWhizSound": "",
"m_strSpinUpLoopSound": "",
"m_flAutoReplenishClip": 0,
"m_flCritBonusEndRange": 0,
"m_flDamageFalloffBias": 0.5,
"m_flSemiAutoCycleRate": -1,
"m_bReloadSingleBullets": false,
"m_flBulletGravityScale": 1,
"m_flPenetrationPercent": 0,
"m_flSpreadPenaltyDecay": 3,
"m_iAmmoConsumedPerShot": 1,
"m_strBulletImpactSound": "",
"m_eAttachmentSourceType": "EAttachmentSource_WeaponMuzzles",
"m_flBulletRadiusVsWorld": 0,
"m_flCritBonusStartRange": 0,
"m_flIntraBurstCycleTime": 0,
"m_flPelletScatterFactor": 1,
"m_flRecoilRecoverySpeed": 1,
"m_strBulletLoopingSound": "",
"m_strWeaponImpactEffect": "",
"m_flCritBonusAgainstNPCs": 0.2,
"m_flDamageFalloffEndRange": 900,
"m_flDamageFalloffEndScale": 0,
"m_szMuzzleFlashEffectName": "",
"m_AimingShootSpreadPenalty": 0,
"m_bHitOnceAcrossAllBullets": false,
"m_flReloadMoveSpeedPercent": 1,
"m_bApplySpreadToFirstPellet": false,
"m_flBulletSpeedRandomFactor": 0,
"m_flDamageFalloffStartRange": 0,
"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/weapon_fx/default_tracer.vpcf",
"m_flShootSpreadPenaltyDecayDelay": -1,
"m_bReloadSingleBulletsAllowCancel": false,
"m_strLocalPlayerBulletImpactSound": "",
"m_szSelfBulletTravelTracerParticle": "",
"m_bUseDesatForFriendlyNonHeroTracer": true,
"m_flExplosionDamageScaleAtMaxRadius": 0.3,
"m_flReloadSingleBulletsInitialDelay": 0,
"m_flBulletInheritShooterVelocityScale": 0,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
"m_strLocalPlayerBulletImpactHeavySound": ""
} |
| m_iUpdateTime | 1668192829 |
| m_strRedirect | "Magician.VexingBolt.Redirect" |
| m_eAbilityType | "EAbilityType_Signature" |
| m_strCastSound | "Magician.VexingBolt.Cast" |
| m_bStartTrained | false |
| m_eItemSlotType | "EItemSlotType_Invalid" |
| m_bInDevelopment | false |
| m_projectileInfo | 9 keys{
"m_flSpeed": 1000,
"m_HitSound": "Magician.VexingBolt.Impact",
"m_particle": "particles/abilities/magician/magician_bolt.vpcf",
"m_flUpSpeed": 0,
"m_nBehaviors": "PBF_DetonateOnHitTarget | PBF_DetonateOnHitWorld | PBF_DetonateOnLifetimeExpire",
"m_LoopingSound": "Magician.VexingBolt.Projectile_Lp",
"m_flGravityScale": 0,
"m_flTriggerRadius": 25,
"m_bHideWarningParticle": true
} |
| m_ExplodeParticle | "particles/abilities/magician/magician_bolt_explosion.vpcf" |
| m_strAbilityImage | "file://{images}/hud/abilities/magician/magician_magicbolt.psd" |
| m_RetargetParticle | "particles/abilities/magician/magician_bolt_redirect.vpcf" |
| m_flBossDamageScale | 1 |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityPointsCost | 0 |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_eTargettingLOSCheck | "ELOSCheck_Bounds_IgnoreObscureBlockers" |
| m_nAbilityTargetFlags | "CITADEL_UNIT_TARGET_FLAG_PENETRATE_INVULNERABLE" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_HERO_ENEMY" |
| m_strAG2CastingAction | "throw" |
| m_strMoviePreviewPath | "file://{resources}/videos/hero_abilities/magician_magic_bolt.webm" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_CHANNELLED | CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_TARGET_THROUGH_WALLS | CITADEL_ABILITY_BEHAVIOR_CLEAVE_DISABLED | CITADEL_ABILITY_BEHAVIOR_COOLDOWN_ON_CHANNEL_END | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST" |
| m_TargetDebuffModifier | 5 keys{
"_class": "modifier_base",
"m_bIsHidden": true,
"_my_subclass_name": "magician_magicbolt_debuff",
"m_strParticleEffect": "particles/upgrades/suppressor_fire_rate_reduction_debuff.vpcf",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"FireRateSlow",
"TechArmorDamageReduction"
]
} |
| m_flTargetingConeAngle | 2 |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_magician_magicbolt_desc",
"m_vecBasicProperties": [
"MaxDamageTime",
"FireRateSlow",
"DebuffDuration"
],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "MinDamage"
},
{
"m_strImportantProperty": "MaxDamage"
},
{
"m_strImportantProperty": "CloneDamagePercentage"
}
]
}
]
}
]
} |
| m_TriggerButtonOverride | "" |
| m_mapDependentAbilities | 1 key{
"ability_magician_magicbolt_trigger": null
} |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "e_GenericThrow" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_eAbilityTargetingShape | "CITADEL_ABILITY_TARGETING_SHAPE_CONE" |
| m_eAbilitySpectatePriority | "CITADELTV_ABILITY_SPECTATE_PRIORITY_NONE" |
| m_TriggerButtonPreReqButton | "" |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_UNIT" |
| m_strAG2CastCompletedAction | "throw_completed" |
| m_strAbilityChargeReadySound | "" |
| m_strAbilityOffCooldownSound | "" |
| m_TargetAbilityEffectsToApply | "" |
| m_bitsChannelEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPreCastEnabledStateMask | "MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM" |
| m_bitsPostCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION | MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM" |
| m_bShowTargetingPreviewWhileCasting | false |
| m_bShowTargetingPreviewWhileChanneling | false |
[
{
m_nButton1 = "IN_ABILITY1"
m_eHintSide = "EButtonSide_Left"
m_nPriority = 1
m_strContext = "magicbolt_redirect_hint"
m_strLocToken = "#AbilityButtonHint_MagicBoltRedirect"
m_bShowAbilityIcon = true
},
]{
primary =
{
m_Spread = 0.2
m_flRange = 8192
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_iBullets = 1
m_flZoomFOV = 70
m_iClipSize = 0
m_bIsSemiAuto = false
m_flCycleTime = 0.15
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 0
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletDamage = 0
m_flBulletRadius = 0
m_flCritBonusEnd = 1
m_reloadDuration = 0
m_strReloadSound = ""
m_strSpinUpSound = ""
m_strZoomInSound = ""
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_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 0
m_flCritBonusStart = 1
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
}
m_strSpinDownSound = ""
m_flExplosionRadius = 0
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_flVerticalAimBias = 0
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flRangeWhileZoomed = 0
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = ""
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 1
m_flPenetrationPercent = 0
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_strBulletImpactSound = ""
m_eAttachmentSourceType = "EAttachmentSource_WeaponMuzzles"
m_flBulletRadiusVsWorld = 0
m_flCritBonusStartRange = 0
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = ""
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0.2
m_flDamageFalloffEndRange = 900
m_flDamageFalloffEndScale = 0
m_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_bHitOnceAcrossAllBullets = false
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flBulletSpeedRandomFactor = 0
m_flDamageFalloffStartRange = 0
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/weapon_fx/default_tracer.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_strLocalPlayerBulletImpactSound = ""
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = ""
}
}#CurrentBonus_labelELOSCheck_Bounds_IgnoreObscureBlockers→Bounds_IgnoreObscureBlockers{
m_Spread = 0.2
m_flRange = 8192
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_iBullets = 1
m_flZoomFOV = 70
m_iClipSize = 0
m_bIsSemiAuto = false
m_flCycleTime = 0.15
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 0
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletDamage = 0
m_flBulletRadius = 0
m_flCritBonusEnd = 1
m_reloadDuration = 0
m_strReloadSound = ""
m_strSpinUpSound = ""
m_strZoomInSound = ""
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_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 0
m_flCritBonusStart = 1
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
}
m_strSpinDownSound = ""
m_flExplosionRadius = 0
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_flVerticalAimBias = 0
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flRangeWhileZoomed = 0
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = ""
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 1
m_flPenetrationPercent = 0
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_strBulletImpactSound = ""
m_eAttachmentSourceType = "EAttachmentSource_WeaponMuzzles"
m_flBulletRadiusVsWorld = 0
m_flCritBonusStartRange = 0
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = ""
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0.2
m_flDamageFalloffEndRange = 900
m_flDamageFalloffEndScale = 0
m_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_bHitOnceAcrossAllBullets = false
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flBulletSpeedRandomFactor = 0
m_flDamageFalloffStartRange = 0
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/weapon_fx/default_tracer.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_strLocalPlayerBulletImpactSound = ""
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = ""
}file://{resources}/videos/hero_abilities/magician_magic_bolt.webm