Need help with plugins or servers? Join our Discord

Modding Database

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

ability_unicorn_prismaticguard/modifier_unicorn_prismatic_guard_buff

modifier

class modifier_unicorn_prismatic_guard · defined in ability_unicorn_prismaticguard (Dazzling Trick) at m_BuffModifier

Deadworks (C#)
pawn.AddModifier("ability_unicorn_prismaticguard/modifier_unicorn_prismatic_guard_buff", new Dictionary<string, float> {
	["BonusMoveSpeed"] = 0f,
	["CombatBarrier"] = 100f,
});

Ability values

Read from Dazzling Trick's properties. Pass overrides to AddModifier to apply it with other values, or without the ability.

ValueEnglish labelAbility's value
BonusMoveSpeedMove Speed0m
CombatBarrierBarrier100

VData

_class"modifier_unicorn_prismatic_guard"
m_sStartSound"Unicorn.Prismatic.Guard.Mod.Start"
m_sExpiredSound""
m_ShieldParticle"particles/abilities/unicorn/unicorn_prismatic_shield.vpcf"
m_TrackingParams
2 keys
{
  "m_TrackingAmountCurve": {
    "m_spline": [
      {
        "x": 0,
        "y": 0,
        "m_flSlopeIncoming": 2.01615,
        "m_flSlopeOutgoing": 2.01615
      },
      {
        "x": 0.155759,
        "y": 0.314034,
        "m_flSlopeIncoming": 2,
        "m_flSlopeOutgoing": 2
      },
      {
        "x": 0.5,
        "y": 1,
        "m_flSlopeIncoming": -0.028252,
        "m_flSlopeOutgoing": -0.028252
      }
    ],
    "m_tangents": [
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_FREE",
        "m_nOutgoingTangent": "CURVE_TANGENT_MIRROR"
      }
    ],
    "m_vDomainMaxs": [
      0.5,
      1
    ],
    "m_vDomainMins": [
      0,
      0
    ]
  },
  "m_ProjectileSpeedCurve": {
    "m_spline": [
      {
        "x": 0,
        "y": 1052.059082,
        "m_flSlopeIncoming": -3761.611572,
        "m_flSlopeOutgoing": -3761.611572
      },
      {
        "x": 0.085289,
        "y": 731.234985,
        "m_flSlopeIncoming": -4041.494873,
        "m_flSlopeOutgoing": -4041.494873
      },
      {
        "x": 0.1616,
        "y": 398.953552,
        "m_flSlopeIncoming": -175.029343,
        "m_flSlopeOutgoing": -175.029343
      },
      {
        "x": 0.478067,
        "y": 662.487366,
        "m_flSlopeIncoming": -169.75885,
        "m_flSlopeOutgoing": -169.75885
      },
      {
        "x": 0.628444,
        "y": 1223.928589,
        "m_flSlopeIncoming": 3071.350342,
        "m_flSlopeOutgoing": 3071.350342
      },
      {
        "x": 0.783311,
        "y": 1600,
        "m_flSlopeIncoming": 2428.356445,
        "m_flSlopeOutgoing": 2428.356445
      }
    ],
    "m_tangents": [
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_FREE",
        "m_nOutgoingTangent": "CURVE_TANGENT_MIRROR"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_MIRROR",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      },
      {
        "m_nIncomingTangent": "CURVE_TANGENT_SPLINE",
        "m_nOutgoingTangent": "CURVE_TANGENT_SPLINE"
      }
    ],
    "m_vDomainMaxs": [
      0.8,
      1600
    ],
    "m_vDomainMins": [
      0,
      250
    ]
  }
}
_my_subclass_name"modifier_unicorn_prismatic_guard_buff"
m_BarrierBehavior"MODIFIER_BARRIER_BEHAVIOR_REMOVE_ON_DESTROY"
m_ExplodeParticle"particles/abilities/unicorn/unicorn_prismatic_shield_silence_explode.vpcf"
m_flVerticalBoost0.5
m_strExplodeSound"Unicorn.Prismatic.Guard.Explode"
m_strCrackingSound"Unicorn.Prismatic.Guard.Cracking.Layer"
m_strDestroyedSound"Unicorn.Prismatic.Guard.Expired"
m_strParticleEffect""
m_eHudDisplayLocation"DISPLAY_HUD_CENTER"
m_sAmbientLoopingSound"Unicorn.Prismatic.Guard.Mod.Lp"
m_BarrierCreateParticle"particles/abilities/unicorn/unicorn_prismatic_barrier_create.vpcf"
m_eExplosionTargetingType"CITADEL_UNIT_TARGET_HERO_ENEMY"
m_bSupressDefaultBarrierBreakParticletrue

History

  1. 6696–6745first dumped