pawn.AddAbility("ability_vampirebat_steallife", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("ability_vampirebat_steallife");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 | 60 | +60 | |||
| AirDrag | 0.2 | |||||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| AirSpeedMax | 0 | |||||
| FallingDrag | 20 | |||||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| FallSpeedMax | 3 | |||||
| MaxFloatTime | 4.0 | |||||
| AbilityCharges | Charges | 0 | ||||
| DebuffDuration | Debuff Duration | 0 | ||||
| AbilityCooldown | Cooldown | 16 | +-8 | |||
| AbilityDuration | Duration | 0 | ||||
| RakeHealPerKill | Heal Per Kill | 25 | +30 | +1.2 spirit scaling | ||
| AbilityCastDelay | Cast Delay | 0.1 | ||||
| AbilityCastRange | Cast Range | 10m | ||||
| ChannelMoveSpeed | -1 | |||||
| MiniJumpVelocity | 200 | |||||
| AbilityChannelTime | Channel Duration | 0 | ||||
| TargetingConeAngle | Attack Angle | 60 | ||||
| TimeBetweenAttacks | 0.04 | |||||
| AbilityResourceCost | 0 | |||||
| AbilityUnitTargetLimit | 6 | |||||
| AbilityPostCastDuration | 0.4 | |||||
| TrooperExecuteThreshold | 60 | |||||
| TechArmorDamageReduction | 0 | TECH_RESIST_REDUCTION | ||||
| AbilityCooldownBetweenCharge | Charge Delay | -1.0 | ||||
| MissingHealthDamagePercentage | 6 | +7 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| ability_vampirebat_steallife/debuff | modifier_base | TechArmorDamageReduction |
| ability_vampirebat_steallife/floatingmodifier | modifier_base |
| _class | "ability_vampirebat_steallife" |
| _editor | 1 key{
"folder_name": "Hero VampireBat"
} |
| _multibase | 1 item[ "signature_base" ] |
| m_iMaxLevel | 1 |
| m_iUpdateTime | 0 |
| m_CastParticle | "particles/abilities/vampirebat/vampirebat_steallife_cast.vpcf" |
| m_eAbilityType | "EAbilityType_Signature" |
| m_strCastSound | "" |
| m_ShootParticle | "particles/abilities/vampirebat/vampirebat_steallife_cast.vpcf" |
| m_bStartTrained | false |
| m_strShootSound | "Shiv.Dagger.Cast" |
| m_strSlashSound | "VampireBat.Rake.Cast" |
| m_DebuffModifier | 5 keys{
"_class": "modifier_base",
"m_bIsHidden": true,
"_my_subclass_name": "debuff",
"m_strParticleEffect": "particles/abilities/nano/nano_ultimate_target_debuff.vpcf",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"TechArmorDamageReduction"
]
} |
| m_ImpactParticle | "" |
| m_mapWeaponInfos | 1 key{
"primary": {
"m_Spread": 0.2,
"m_bCanCrit": true,
"m_bCanZoom": true,
"m_bSpinsUp": false,
"m_flZoomFOV": 70,
"m_bIsSemiAuto": false,
"m_nRecoilSeed": 0,
"m_flBuildUpRate": -1,
"m_flBulletSpeed": 3000,
"m_flRecoilSpeed": 1,
"m_strShootSound": "",
"m_flBulletRadius": 20,
"m_flCritBonusEnd": 1,
"m_strReloadSound": "",
"m_strSpinUpSound": "",
"m_strZoomInSound": "",
"m_NpcAimingSpread": 0,
"m_VerticallRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_flSpinDecayRate": 0,
"m_flVerticalPunch": 1,
"m_strZoomOutSound": "",
"m_HorizontalRecoil": {
"m_Range": 0,
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 1
},
"m_flCritBonusStart": 1,
"m_mapImpactEffects": {
"default": {}
},
"m_strSpinDownSound": "",
"m_flHorizontalPunch": 0.5,
"m_flScatterYawScale": 1,
"m_strFirstShotSound": "",
"m_strReloadEndSound": "",
"m_vecScatterOffsets": [],
"m_flMaxSpinCycleTime": -1,
"m_flSpinIncreaseRate": 0,
"m_flZoomFOV_Relative": -5,
"m_strBulletWhizSound": "",
"m_strSpinUpLoopSound": "",
"m_flAutoReplenishClip": 0,
"m_flCritBonusEndRange": 0,
"m_strShotReleaseSound": "",
"m_bReloadSingleBullets": false,
"m_flBulletGravityScale": 0,
"m_flBulletWhizDistance": 150,
"m_flPenetrationPercent": 100,
"m_flSpreadPenaltyDecay": 3,
"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_szMuzzleFlashEffectName": "",
"m_AimingShootSpreadPenalty": 0,
"m_flReloadMoveSpeedPercent": 1,
"m_bApplySpreadToFirstPellet": false,
"m_flShootSpreadPenaltyDecay": 1,
"m_flShootingUpSpreadPenalty": 0,
"m_strCustomAttachmentSource": "ability_cast",
"m_flPelletScatterSpreadFactor": 0.5,
"m_flRecoilRecoveryDelayFactor": 1,
"m_flShootSpreadPenaltyPerShot": 0,
"m_szBulletTravelTracerParticle": "particles/abilities/vampirebat/vampirebat_dagger_proj.vpcf",
"m_flShootSpreadPenaltyDecayDelay": -1,
"m_bReloadSingleBulletsAllowCancel": false,
"m_strLocalPlayerBulletImpactSound": "",
"m_szSelfBulletTravelTracerParticle": "",
"m_bUseDesatForFriendlyNonHeroTracer": true,
"m_flExplosionDamageScaleAtMaxRadius": 0.3,
"m_flReloadSingleBulletsInitialDelay": 0,
"m_bReloadUseActiveWeaponInfoDuration": false,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
"m_strLocalPlayerBulletImpactHeavySound": ""
}
} |
| 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_strAbilityImage | "file://{images}/hud/abilities/vampirebat/vampirebat_rake.psd" |
| m_FloatingModifier | 5 keys{
"_class": "modifier_base",
"m_bIsHidden": true,
"m_AG2BaseState": {
"m_nPriority": 0,
"m_strParamName": ""
},
"m_AG2HeroState": {
"m_nPriority": 2,
"m_strParamName": "vampirebat_floating"
},
"_my_subclass_name": "floatingmodifier"
} |
| m_strFloatEndSound | "VampireBat.Umbrella.Flight.End" |
| m_flBossDamageScale | 1 |
| m_sCustomStackLabel | "#CurrentBonus_label" |
| m_strFloatLoopSound | "VampireBat.Umbrella.Flight.Lp" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityPointsCost | 0 |
| m_strFloatStartSound | "VampireBat.Umbrella.Flight.Start" |
| m_strHitConfirmSound | "VampireBat.Rake.Hit.Confirm" |
| m_BonusImpactParticle | "particles/abilities/shiv/shiv_thrown_shiv_impact.vpcf" |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_eTargettingLOSCheck | "Bounds_IgnoreObscureBlockers" |
| m_flNearbySweepOffset | -59 |
| m_flNearbySweepRadius | 78 |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_ALL_ENEMY" |
| m_strAG2CastingAction | "vampirebat_rake" |
| m_strKillConfirmSound | "VampireBat.Rake.Kill.Confirm.Heal" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST | CITADEL_ABILITY_BEHAVIOR_USE_LAG_COMPENSATION_FOR_UNIT_TARGETING" |
| m_DamageTargetParticle | "particles/abilities/vampirebat/vampirebat_steallife_dmg.vpcf" |
| m_flTargetingConeAngle | 140 |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#ability_vampirebat_steallife_desc",
"m_vecBasicProperties": [],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "Damage"
}
]
},
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "MissingHealthDamagePercentage"
}
],
"m_strPropertiesTitleLocString": "#ability_header_on_hero_hit"
}
]
},
{
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "RakeHealPerKill"
}
],
"m_strPropertiesTitleLocString": "#ability_header_on_kill"
}
]
}
]
} |
| m_CastLifeLeechParticle | "particles/abilities/vampirebat/vampirebat_steallife_leech.vpcf" |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "e_Rake" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_eAbilityTargetingShape | "CITADEL_ABILITY_TARGETING_SHAPE_CONE" |
| m_bUseCameraOffsetsForCone | false |
| m_flTargetingConeHalfWidth | 10 |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_UNIT" |
| 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_IN_ABILITY_ALLOW_ZOOM | MODIFIER_STATE_SHOOTING_DISABLED | MODIFIER_STATE_MELEE_DISABLED" |
| m_bCollectNearbyTargetsWithCone | true |
{
primary =
{
m_Spread = 0.2
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_flZoomFOV = 70
m_bIsSemiAuto = false
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 3000
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletRadius = 20
m_flCritBonusEnd = 1
m_strReloadSound = ""
m_strSpinUpSound = ""
m_strZoomInSound = ""
m_NpcAimingSpread = 0
m_VerticallRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flSpinDecayRate = 0
m_flVerticalPunch = 1
m_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flCritBonusStart = 1
m_mapImpactEffects =
{
default =
{
}
}
m_strSpinDownSound = ""
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_strFirstShotSound = ""
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = ""
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_strShotReleaseSound = ""
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0
m_flBulletWhizDistance = 150
m_flPenetrationPercent = 100
m_flSpreadPenaltyDecay = 3
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_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flShootSpreadPenaltyDecay = 1
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "ability_cast"
m_flPelletScatterSpreadFactor = 0.5
m_flRecoilRecoveryDelayFactor = 1
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/abilities/vampirebat/vampirebat_dagger_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_strLocalPlayerBulletImpactSound = ""
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_bReloadUseActiveWeaponInfoDuration = false
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = ""
}
}VampireBat.Umbrella.Flight.End#CurrentBonus_labelVampireBat.Umbrella.Flight.LpVampireBat.Umbrella.Flight.StartELOSCheck_Bounds_IgnoreObscureBlockers→Bounds_IgnoreObscureBlockers{
m_Spread = 0.2
m_bCanCrit = true
m_bCanZoom = true
m_bSpinsUp = false
m_flZoomFOV = 70
m_bIsSemiAuto = false
m_nRecoilSeed = 0
m_flBuildUpRate = -1
m_flBulletSpeed = 3000
m_flRecoilSpeed = 1
m_strShootSound = ""
m_flBulletRadius = 20
m_flCritBonusEnd = 1
m_strReloadSound = ""
m_strSpinUpSound = ""
m_strZoomInSound = ""
m_NpcAimingSpread = 0
m_VerticallRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flSpinDecayRate = 0
m_flVerticalPunch = 1
m_strZoomOutSound = ""
m_HorizontalRecoil =
{
m_Range = 0
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 1
}
m_flCritBonusStart = 1
m_mapImpactEffects =
{
default =
{
}
}
m_strSpinDownSound = ""
m_flHorizontalPunch = 0.5
m_flScatterYawScale = 1
m_strFirstShotSound = ""
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flMaxSpinCycleTime = -1
m_flSpinIncreaseRate = 0
m_flZoomFOV_Relative = -5
m_strBulletWhizSound = ""
m_strSpinUpLoopSound = ""
m_flAutoReplenishClip = 0
m_flCritBonusEndRange = 0
m_strShotReleaseSound = ""
m_bReloadSingleBullets = false
m_flBulletGravityScale = 0
m_flBulletWhizDistance = 150
m_flPenetrationPercent = 100
m_flSpreadPenaltyDecay = 3
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_szMuzzleFlashEffectName = ""
m_AimingShootSpreadPenalty = 0
m_flReloadMoveSpeedPercent = 1
m_bApplySpreadToFirstPellet = false
m_flShootSpreadPenaltyDecay = 1
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "ability_cast"
m_flPelletScatterSpreadFactor = 0.5
m_flRecoilRecoveryDelayFactor = 1
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/abilities/vampirebat/vampirebat_dagger_proj.vpcf"
m_flShootSpreadPenaltyDecayDelay = -1
m_bReloadSingleBulletsAllowCancel = false
m_strLocalPlayerBulletImpactSound = ""
m_szSelfBulletTravelTracerParticle = ""
m_bUseDesatForFriendlyNonHeroTracer = true
m_flExplosionDamageScaleAtMaxRadius = 0.3
m_flReloadSingleBulletsInitialDelay = 0
m_bReloadUseActiveWeaponInfoDuration = false
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = ""
}