Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 27s ago· Viewing build 6745 (Oct 02 2026)

cosmetic_ability_snowball

Snowballcosmetic

class cosmetic_snowball · inherits from cosmetic_base

Deadworks (C#)
pawn.AddAbility("cosmetic_ability_snowball", slot);
pawn.RemoveAbility("cosmetic_ability_snowball");

Properties

Ability values, by the name modifiers and AddModifier overrides use.

PropertyEnglish labelValueProvides
DamageDamage1
RadiusRadius5
Spread3
TechPowerSpirit Power0TECH_POWER
WeaponPowerWeapon Damage0WEAPON_POWER
SnowballCountSnowballs Thrown1
SnowballSpeedThrow Speed630
AbilityChargesCharges1
AbilityCooldownCooldown18
AbilityDurationDuration0
AbilityCastDelayCast Delay0.1
AbilityCastRangeCast Range0
ChannelMoveSpeed-1
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
AbilityUnitTargetLimit1
AbilityPostCastDuration1
AbilityCooldownBetweenChargeCharge Delay1.5

Modifiers

Defined inside this ability. AddModifier finds each by its scoped name.

Name for AddModifierClassReads ability values
cosmetic_ability_snowball/snowballmodifier_base

VData

_class"cosmetic_snowball"
_editor
1 key
{
  "folder_name": "Actives"
}
_multibase
1 item
[
  "cosmetic_base"
]
m_iMaxLevel32
m_strCSSClass"item_seasonal"
m_cosmeticInfo
1 key
{
  "m_strTooltipCSSClass": "CosmeticSnowball"
}
m_eAbilityType"EAbilityType_Cosmetic"
m_eShopFilters""
m_strCastSound"Snowball.Cast"
m_bStartTrainedtrue
m_mapWeaponInfos
1 key
{
  "primary": {
    "m_flCycleTime": 0.05,
    "m_flBulletSpeed": 1000,
    "m_flBulletRadius": 5,
    "m_mapImpactEffects": {
      "default": {}
    },
    "m_strBulletWhizSound": "Snowball.Projectile.Whizby",
    "m_strBulletImpactSound": "Snowball.Projectile.Impact",
    "m_eAttachmentSourceType": "EAttachmentSource_Custom",
    "m_flBulletRadiusVsWorld": 5,
    "m_strWeaponImpactEffect": "particles/event/christmas/snowball_projectile_impact.vpcf",
    "m_strCustomAttachmentSource": "ability_cast",
    "m_szBulletTravelTracerParticle": "particles/event/christmas/snowball_projectile.vpcf",
    "m_bPlayImpactEffectsOnTeammates": true
  }
}
m_projectileInfo
7 keys
{
  "m_flSpeed": 2000,
  "m_particle": "particles/abilities/ghost/ghost_blood_bomb_projectile.vpcf",
  "m_flUpSpeed": 0,
  "m_nBehaviors": "PBF_DisableTouchOnHit | PBF_DetonateOnHitTarget | PBF_DetonateOnHitWorld | PBF_NotTurnTowardVelocity",
  "m_warningParticle": "particles/abilities/ghost/ghost_blood_bomb_warning.vpcf",
  "m_flVerticalAimBias": 0,
  "m_bHideWarningParticle": 1
}
m_previewParticle"particles/abilities/ghost/ghost_blood_bomb_preview.vpcf"
m_strAbilityImage"file://{images}/items/seasonal/2025_snowball.psd"
m_SnowballModifier
6 keys
{
  "_class": "modifier_base",
  "m_bIsHidden": true,
  "m_eDebuffType": "MODIFIER_DEBUFF_NO",
  "_my_subclass_name": "snowball",
  "m_strParticleStatusEffect": "particles/status_fx/status_fx_snowball.vpcf",
  "m_strScreenParticleEffect": "particles/event/christmas/snowball_tgt_screen.vpcf"
}
m_progressionSpeed
1 key
{
  "m_mapLevelsToValue": {
    "0": 630,
    "1": 787,
    "2": 944,
    "3": 1102,
    "4": 1260,
    "5": 1417,
    "6": 1575,
    "32": 2756
  }
}
m_strAG2SourceName"item"
m_strSelectedSound""
m_progressionDamage
1 key
{
  "m_mapLevelsToValue": {
    "0": 1,
    "1": 2,
    "2": 4,
    "3": 8,
    "4": 12,
    "32": 20
  }
}
m_progressionRadius
1 key
{
  "m_mapLevelsToValue": {
    "0": 5,
    "32": 20
  }
}
m_sCustomStackLabel"#CurrentBonus_label"
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_INSTANT_CAST"
m_progressionCharges
2 keys
{
  "m_eBetweenBehavior": "UsePrevious",
  "m_mapLevelsToValue": {
    "0": 1,
    "8": 2,
    "16": 3,
    "24": 4,
    "32": 5
  }
}
m_strUnselectedSound""
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_FRIENDLY | CITADEL_UNIT_TARGET_ALL_ENEMY"
m_progressionCooldown
1 key
{
  "m_mapLevelsToValue": {
    "0": 18,
    "1": 16,
    "2": 14,
    "3": 12,
    "4": 10,
    "5": 8
  }
}
m_strAG2CastingAction"throw"
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT"
m_strSelectedLoopSound""
m_strCastAnimGraphParam"e_GenericThrow"
m_vecTooltipSectionInfo
1 item
[
  {
    "m_eAbilitySectionType": "EArea_Active",
    "m_vecSectionAttributes": [
      {
        "m_strLocString": "#cosmetic_ability_snowball_desc",
        "m_vecAbilityProperties": [
          "SnowballSpeed",
          "SnowballCount",
          "Radius"
        ],
        "m_vecElevatedAbilityProperties": [],
        "m_vecImportantAbilityProperties": [
          {
            "m_strImportantProperty": "Damage"
          },
          {
            "m_strImportantProperty": "AbilityCharges"
          }
        ]
      }
    ]
  }
]
m_eAbilityTargetingShape"CITADEL_ABILITY_TARGETING_SHAPE_NONE"
m_progressionSnowballCount
2 keys
{
  "m_eBetweenBehavior": "UsePrevious",
  "m_mapLevelsToValue": {
    "0": 1,
    "16": 2,
    "32": 3
  }
}
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_NONE"
m_strAG2CastCompletedAction"throw_completed"
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bShowTargetingPreviewWhileCastingtrue

History

  1. 6722–6745added