Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 22s ago· Viewing build 6698 (Sep 17 2026), not the latest

ability_hat_trick

Hat Trickability

class ability_hat_trick · inherits from signature_base

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

Properties

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.

PropertyEnglish labelValueTier 1Tier 2Tier 3Provides
DamageDamage100+50
TechPowerSpirit Power0TECH_POWER
SlowPercentMove Speed20+30MOVEMENT_SPEED_SLOW_PERCENT
WeaponPowerWeapon Damage0WEAPON_POWER
AbilityChargesCharges0
DebuffDurationDebuff Duration5
AbilityCooldownCooldown21+-9.5
AbilityDurationDuration0
ExplosionRadiusExplosion Radius2m
AbilityCastDelayCast Delay0.15
AbilityCastRangeCast Range0
ChannelMoveSpeed0
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
AbilityUnitTargetLimit1
AbilityPostCastDuration0
AbilityCooldownBetweenChargeCharge Delay-1.0

Modifiers

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

Name for AddModifierClassReads ability values
ability_hat_trick/slow Slowedmodifier_slow_baseSlowPercent

VData

_class"ability_hat_trick"
_editor
1 key
{
  "folder_name": "Hero Astro"
}
_multibase
1 item
[
  "signature_base"
]
m_HUDPanel
2 keys
{
  "m_vecButtonHints": [
    {
      "m_nButton1": "IN_ATTACK",
      "m_eHintSide": "EButtonSide_Right",
      "m_strContext": "hint_speed",
      "m_strLocToken": "#AbilityButtonHint_HatTrickFire"
    }
  ],
  "m_vecHUDElements": [
    {
      "m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_PROGRESS",
      "m_Layout": "file://{resources}/layout/ability_hud_elements/element_circular_progress.vxml",
      "m_strContext": "cast"
    },
    {
      "m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_PROGRESS",
      "m_Layout": "file://{resources}/layout/ability_hud_elements/element_progress_bar.vxml",
      "m_strContext": "channel",
      "m_bReverseProgress": true
    }
  ]
}
m_iMaxLevel1
m_WeaponInfo
12 keys
{
  "m_flRange": 10000,
  "m_iClipSize": 1,
  "m_flBulletSpeed": 5000,
  "m_flBulletRadius": 32,
  "m_flBulletLifetime": 5,
  "m_mapImpactEffects": {
    "default": {
      "m_strSound": "Orion.Charged.Shot.Proj.Impact"
    }
  },
  "m_strBulletWhizSound": "Orion.Charged.Shot.Whizby",
  "m_flBulletGravityScale": 0.3,
  "m_flBulletRadiusVsWorld": 7,
  "m_flDamageFalloffEndRange": -1,
  "m_flDamageFalloffStartRange": -1,
  "m_szBulletTravelTracerParticle": "particles/abilities/astro/astro_trick_shot_fired_projectile.vpcf"
}
m_iUpdateTime1721945369
m_eAbilityType"EAbilityType_Signature"
m_bStartTrainedfalse
m_DebuffModifier
6 keys
{
  "_class": "modifier_slow_base",
  "m_bIsHidden": true,
  "_my_subclass_name": "slow",
  "m_nEnabledStateMask": "MODIFIER_STATE_GLOW_THROUGH_WALLS_TO_PROVIDER | MODIFIER_STATE_SILENCE_MOVEMENT_ABILITES",
  "m_sLocalizationName": "movement_slow",
  "m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
    "SlowPercent"
  ]
}
m_ProjectileModel"models/heroes_staging/astro/astro_hat.vmdl"
m_strAbilityImage"file://{images}/hud/abilities/archer/archer_guided_arrow.psd"
m_strExplodeSound"Archer.GuidedArrow.Impact"
m_ExplosionParticle"particles/abilities/astro/astro_trick_shot_projectile_impact.vpcf"
m_flBossDamageScale1
m_strCastDelaySound"Archer.GuidedArrow.Cast"
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_INSTANT_CAST"
m_nAbilityPointsCost0
m_PreviewPathParticle"particles/generic/generic_arc.vpcf"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_ENEMY"
m_strMoviePreviewPath""
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT"
m_nAbillityUnlocksCost1
m_AbilityTooltipDetails
1 key
{
  "m_vecAbilityInfoSections": [
    {
      "m_strLocString": "#ability_hat_trick_desc",
      "m_vecAbilityPropertiesBlock": [
        {
          "m_vecAbilityProperties": [
            {
              "m_strImportantProperty": "Damage"
            },
            {
              "m_strImportantProperty": "SlowPercent"
            },
            {
              "m_strImportantProperty": "DebuffDuration"
            }
          ]
        }
      ]
    }
  ]
}
m_skillshotMissParticle"particles/abilities/skillshot_default_miss_owner.vpcf"
m_strCastAnimGraphParam"e_GenericThrow"
m_bitsInterruptingStates"MODIFIER_STATE_STUNNED | MODIFIER_STATE_IS_ASLEEP"
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_SELF"
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"

History

  1. 6722–6745removed
  2. 6696–6701first dumped