pawn.AddAbility("ability_magician_bigbolt", slot);
pawn.RemoveAbility("ability_magician_bigbolt");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 | 120 | ||||
| Radius | Radius | 3m | ||||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| ShootDelay | .7 | |||||
| TotalBolts | Magic Bolts | 3 | ||||
| AirSpeedMax | 70 | |||||
| SlowPercent | Move Speed | 20 | +20 | |||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| FallSpeedMax | 1 | |||||
| DamagePerShot | Damage Gain per Bolt | 50 | +50 | |||
| AbilityCharges | Charges | 0 | ||||
| DebuffDuration | Debuff Duration | 2 | ||||
| AbilityCooldown | Cooldown | 100 | +-40 | |||
| AbilityDuration | Duration | 0 | ||||
| AbilityCastDelay | Cast Delay | .5 | ||||
| AbilityCastRange | Cast Range | 500m | ||||
| ChannelMoveSpeed | 1.3m | |||||
| RedirectVelocity | 1500 | |||||
| BoltRefundPerKill | 1 | +1 | ||||
| AbilityChannelTime | Channel Duration | 8 | ||||
| ProjectileLifetime | 3 | |||||
| AbilityResourceCost | 0 | |||||
| AbilityUnitTargetLimit | 1 | |||||
| AbilityPostCastDuration | .3 | |||||
| ProjectileRedirectCount | Max Redirects | 1 | ||||
| TechArmorDamageReduction | 0 | TECH_RESIST_REDUCTION | ||||
| InitialProjectileVelocity | 1000 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | 3 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_magician_bigbolt/magician_bigbolt_modifier | modifier_diminishing_slow | |
| ability_magician_bigbolt/magician_caster_bigbolt_modifier | modifier_base |
| _class | "ability_magician_bigbolt" |
| _editor | 1 key{
"folder_name": "Hero Magician"
} |
| _multibase | 1 item[ "signature_base" ] |
| m_HUDPanel | 1 key{
"m_vecButtonHints": [
{
"m_nButton1": "IN_ATTACK",
"m_eHintSide": "EButtonSide_Left",
"m_strContext": "firebolt",
"m_strLocToken": "#AbilityButtonHint_MagicianBigBoltFire",
"m_bShowAbilityIcon": true
}
]
} |
| m_iMaxLevel | 1 |
| m_WeaponInfo | 93 keys{
"m_Spread": 0.2,
"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.3,
"m_nRecoilSeed": 0,
"m_flBuildUpRate": -1,
"m_flBulletSpeed": 20000,
"m_flRecoilSpeed": 1,
"m_flBulletDamage": 0,
"m_flBulletRadius": 40,
"m_flCritBonusEnd": 1.9,
"m_reloadDuration": 1.5,
"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_strZoomOutSound": "",
"m_HorizontalRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_flBulletLifetime": 5,
"m_flCritBonusStart": 1.9,
"m_flIronSightsTime": 0.1,
"m_mapImpactEffects": {
"default": {}
},
"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": "Orion.Charged.Shot.Whizby",
"m_strSpinUpLoopSound": "",
"m_flAutoReplenishClip": 0,
"m_flCritBonusEndRange": 1500,
"m_flDamageFalloffBias": 0.5,
"m_flSemiAutoCycleRate": -1,
"m_bReloadSingleBullets": false,
"m_flBulletGravityScale": 0,
"m_flPenetrationPercent": 50,
"m_flSpreadPenaltyDecay": 3,
"m_iAmmoConsumedPerShot": 1,
"m_strBulletImpactSound": "",
"m_eAttachmentSourceType": "EAttachmentSource_WeaponMuzzles",
"m_flBulletRadiusVsWorld": 7,
"m_flCritBonusStartRange": 500,
"m_flIntraBurstCycleTime": 0,
"m_flPelletScatterFactor": 1,
"m_flRecoilRecoverySpeed": 1,
"m_strBulletLoopingSound": "",
"m_strWeaponImpactEffect": "",
"m_flCritBonusAgainstNPCs": 0,
"m_flDamageFalloffEndRange": -1,
"m_flDamageFalloffEndScale": 0.1,
"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": 1,
"m_bAllowExplosionToCollectGold": false,
"m_szBulletTravelTracerParticle": "particles/abilities/archer/archer_charged_shot_proj.vpcf",
"m_flShootSpreadPenaltyDecayDelay": 0,
"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_strBoltFire | "Orion.Charged.Shot.Cast" |
| m_eAbilityType | "EAbilityType_Ultimate" |
| m_strBoltDelay | "Orion.Charged.Shot.CastDelay" |
| m_bStartTrained | false |
| m_CasterModifier | 4 keys{
"_class": "modifier_base",
"m_bIsHidden": true,
"_my_subclass_name": "magician_caster_bigbolt_modifier",
"m_strParticleEffect": "particles/upgrades/vex_shield_buff.vpcf"
} |
| m_ChargeParticle | "particles/abilities/bebop/bebop_laser_beam_charge_up.vpcf" |
| 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_BoltHitModifier | 5 keys{
"_class": "modifier_diminishing_slow",
"m_bIsHidden": true,
"_my_subclass_name": "magician_bigbolt_modifier",
"m_strParticleEffect": "",
"m_strParticleStatusEffect": "particles/status_fx/status_fx_generic_slow_debuff.vpcf"
} |
| m_strAbilityImage | "file://{images}/upgrades/mods_tech/return_fire.psd" |
| m_flBossDamageScale | 1 |
| m_ShootDelayParticle | "particles/abilities/archer/archer_charged_shot_channel_start.vpcf" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityPointsCost | 0 |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_ALL_ENEMY" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_CHANNELLED | CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_PROJECTILE_FIRED_AS_BULLET | CITADEL_ABILITY_BEHAVIOR_COOLDOWN_ON_CHANNEL_END" |
| m_flTargetingConeAngle | 4 |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_magician_bigbolt_desc",
"m_vecBasicProperties": [
"SlowPercent",
"DebuffDuration"
],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "TotalBolts"
},
{
"m_strImportantProperty": "Damage"
},
{
"m_strImportantProperty": "DamagePerShot"
}
]
}
]
}
]
} |
| m_mapDependentAbilities | 0 keys{} |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "e_GenericThrow" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_cameraSequenceCastStart | 0 keys{} |
| m_cameraSequenceChannelStart | 1 key{
"m_vecDistanceOperations": [
{
"m_flSpringTarget": 300,
"m_bSpringToDefault": false,
"m_eCameraOperation": "k_ECameraOp_Spring"
},
{
"m_bMaintainCurrent": true,
"m_eCameraOperation": "k_ECameraOp_Maintain"
}
]
} |
| 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" |
| m_bEndCastStartSequenceOnCastComplete | true |
{
primary =
{
m_Spread = 0.2
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.3
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 20000
m_flRecoilSpeed = 1
m_flBulletDamage = 0
m_flBulletRadius = 40
m_flCritBonusEnd = 1.9
m_reloadDuration = 1.5
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_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 5
m_flCritBonusStart = 1.9
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
default =
{
}
}
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 = "Orion.Charged.Shot.Whizby"
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0
m_flPenetrationPercent = 50
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_strBulletImpactSound = ""
m_eAttachmentSourceType = "EAttachmentSource_WeaponMuzzles"
m_flBulletRadiusVsWorld = 7
m_flCritBonusStartRange = 500
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = ""
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0.1
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 = 1
m_bAllowExplosionToCollectGold = false
m_szBulletTravelTracerParticle = "particles/abilities/archer/archer_charged_shot_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
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_label{
m_Spread = 0.2
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.3
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 20000
m_flRecoilSpeed = 1
m_flBulletDamage = 0
m_flBulletRadius = 40
m_flCritBonusEnd = 1.9
m_reloadDuration = 1.5
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_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flBulletLifetime = 5
m_flCritBonusStart = 1.9
m_flIronSightsTime = 0.1
m_mapImpactEffects =
{
default =
{
}
}
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 = "Orion.Charged.Shot.Whizby"
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flSemiAutoCycleRate = -1
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0
m_flPenetrationPercent = 50
m_flSpreadPenaltyDecay = 3
m_iAmmoConsumedPerShot = 1
m_strBulletImpactSound = ""
m_eAttachmentSourceType = "EAttachmentSource_WeaponMuzzles"
m_flBulletRadiusVsWorld = 7
m_flCritBonusStartRange = 500
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 1
m_strBulletLoopingSound = ""
m_strWeaponImpactEffect = ""
m_flCritBonusAgainstNPCs = 0
m_flDamageFalloffEndRange = -1
m_flDamageFalloffEndScale = 0.1
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 = 1
m_bAllowExplosionToCollectGold = false
m_szBulletTravelTracerParticle = "particles/abilities/archer/archer_charged_shot_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
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 = ""
}