pawn.AddAbility("ability_magician_animalhexarea", (ushort)EAbilitySlot.Signature3);
pawn.RemoveAbility("ability_magician_animalhexarea");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 | 0 | ||||
| Radius | Radius | 6.5m | +3m | |||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| HexDuration | Hex Duration | 2 | +1 | |||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| AbilityCharges | Charges | 0 | ||||
| AbilityCooldown | Cooldown | 26 | +-10 | |||
| AbilityDuration | Duration | 0 | ||||
| DetonationDelay | 0.9 | |||||
| SelfBumpImpulse | 500 | |||||
| AbilityCastDelay | Cast Delay | .15 | ||||
| AbilityCastRange | Cast Range | 24m | ||||
| ChannelMoveSpeed | -1 | |||||
| HexMoveSpeedLimit | Movement Speed Limit | 6m | MOVE_SPEED_LIMIT | |||
| MoveSpeedBonusPct | Move Speed bonus | 36 | MOVEMENT_SPEED_MAX_PERCENT | |||
| AbilityChannelTime | Channel Duration | 0 | ||||
| AirDampingDuration | 1 | |||||
| AbilityResourceCost | 0 | |||||
| DamageAmpPercentage | Damage Amp | 15 | +7 | |||
| AbilityUnitTargetLimit | 1 | |||||
| AbilityPostCastDuration | 0 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | -1.0 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_magician_animalhexarea/animalhex_curse_modifier | modifier_citadel_animalcurse | MoveSpeedBonusPct |
| ability_magician_animalhexarea/hexarea_modifier | modifier_magician_animalcurse_hexarea |
| _class | "ability_magician_animalhexarea" |
| _editor | 1 key{
"folder_name": "Hero Magician"
} |
| _multibase | 1 item[ "signature_base" ] |
| 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_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_strFirstShotSound": "",
"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_strShotReleaseSound": "",
"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 | 0 |
| m_eAbilityType | "EAbilityType_Signature" |
| m_bStartTrained | false |
| m_deploymentInfo | 5 keys{
"m_bPlaceFlat": true,
"m_bGroundCheck": true,
"m_previewModel": "",
"m_previewParticle": "particles/abilities/mirage/mirage_sand_phantom_deploy.vpcf",
"m_bRequiresUpNormal": false
} |
| m_projectileInfo | 34 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_HitWorldSound": "",
"m_HitTargetSound": "",
"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_HexAreaModifier | 8 keys{
"_class": "modifier_magician_animalcurse_hexarea",
"m_HexModifier": {
"_class": "modifier_citadel_animalcurse",
"m_CursedModel": {
"m_ModelName": "models/abilities/rabbit/rabbit.vmdl",
"m_nPriority": 2
},
"m_eDebuffType": "MODIFIER_DEBUFF_ENEMY_TEAM_ONLY",
"m_sStartSound": "Magician.AnimalCurse.Transform",
"m_flModelScale": 0.75,
"m_sExpiredSound": "Magician.AnimalCurse.Curse.Expire",
"_my_subclass_name": "animalhex_curse_modifier",
"m_FootstepOverride": {
"m_sFootstepSound": "",
"m_nFootstepPriority": 1
},
"m_strParticleEffect": "particles/abilities/magician/magician_hex_debuff.vpcf",
"m_sAmbientLoopingSound": "Magician.AnimalCurse.Transform_Lp",
"m_cameraSequenceCreated": {
"m_vecDistanceOperations": [
{
"m_flLerpEnd": 50,
"m_flSpringTarget": 200,
"m_bSpringToDefault": false,
"m_eCameraOperation": "k_ECameraOp_Spring",
"m_bLerpEndAtDefault": false,
"m_bValuesAreRelative": true
},
{
"m_eCameraOperation": "k_ECameraOp_Maintain",
"m_bValuesAreRelative": true
}
],
"m_vecTargetPosOperations": [],
"m_vecHorizOffsetOperations": []
},
"m_cameraSequenceRemoved": {
"m_vecDistanceOperations": [
{
"m_bApproachDefault": true,
"m_eCameraOperation": "k_ECameraOp_Spring",
"m_flSpringStrength": 10,
"m_flApproachMinDuration": 2
}
],
"m_vecHorizOffsetOperations": []
},
"m_strParticleStatusEffect": "",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"MoveSpeedBonusPct"
]
},
"m_sStartSound": "Magician.AnimalCurse.AOE.Start",
"m_strHitSound": "Magician.AnimalCurse.Cast.Impact",
"m_ExplodeEffect": "particles/abilities/magician/magician_hex_aoe.vpcf",
"_my_subclass_name": "hexarea_modifier",
"m_AreaWarningEffect": "particles/abilities/magician/magician_hex_area_warning.vpcf",
"m_PreviewRingParticle": "particles/abilities/magician/magician_hex_area_warning.vpcf"
} |
| m_previewParticle | "particles/abilities/magician/magician_hex_preview.vpcf" |
| m_strAbilityImage | "file://{images}/hud/abilities/magician/magician_animalcurse.psd" |
| m_strSelectedSound | "Magician.AnimalCurse.Select" |
| m_flBossDamageScale | 1 |
| m_strCastDelaySound | "Magician.AnimalCurse.Cast" |
| m_TargetWarningSound | "" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_PRESS" |
| m_nAbilityPointsCost | 0 |
| m_strUnselectedSound | "Magician.AnimalCurse.Deselect" |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_HERO_ENEMY" |
| m_strAG2CastingAction | "casting" |
| m_strMoviePreviewPath | "file://{resources}/videos/hero_abilities/magician_animal_curse.webm" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_ALWAYS_PREVIEW_RADIUS | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_PROJECTILE_PASS_THROUGH_WORLD | CITADEL_ABILITY_BEHAVIOR_CAN_SET_QUICK_CAST | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST" |
| m_ProjectileHitConfirm | "" |
| m_flTargetingConeAngle | 30 |
| m_nAbillityUnlocksCost | 1 |
| m_strSelectedLoopSound | "Magician.AnimalCurse.Select_Lp" |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_magician_animalhexarea_desc",
"m_vecBasicProperties": [
"MoveSpeedBonusPct",
"Radius"
],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "Damage"
},
{
"m_strImportantProperty": "HexDuration",
"m_strStatusEffectValue": ""
},
{
"m_strImportantProperty": "DamageAmpPercentage"
}
]
}
],
"m_strAbilityPropertyUpgradeRequired": ""
}
]
} |
| m_TargetWarningParticle | "particles/abilities/magician/magician_hex_curse.vpcf" |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "e_GenericCast" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_eAbilityTargetingShape | "CITADEL_ABILITY_TARGETING_SHAPE_CIRCLE" |
| m_ProjectileExplodeParticle | "particles/abilities/magician/magician_hex_aoe.vpcf" |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_DEPLOYED_OBJECT" |
| 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.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_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_strFirstShotSound = ""
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_strShotReleaseSound = ""
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_labelCITADEL_ABILITY_TARGETING_LOCATION_DEPLOYED_OBJECT→CITADEL_ABILITY_TARGETING_LOCATION_GROUND{
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_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_strFirstShotSound = ""
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_strShotReleaseSound = ""
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_animal_curse.webm30