Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "example_ability"
- {
- "ID" "1852"
- "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_CHANNELLED"
- "BaseClass" "ability_datadriven"
- "AbilityTextureName" "holdout_blade_fury"
- // Stats
- //-------------------------------------------------------------------------------------------------------------
- "AbilityCastRange" "1000"
- "AbilityCastPoint" "0.0"
- "AbilityCooldown" "10.0"
- "AbilityChannelTime" "2.0 1.8 1.6 1.5"
- "AbilityUnitDamageType" "DAMAGE_TYPE_PURE"
- "AbilityCastAnimation" "ACT_DOTA_DISABLED"
- "AbilityDamage" "400 600 800 1000"
- "precache"
- {
- "particle" "particles/econ/generic/generic_aoe_explosion_sphere_1/generic_aoe_explosion_sphere_1.vpcf"
- "soundfile" "soundevents/game_sounds_heroes/game_sounds_gyrocopter.vsndevts"
- }
- // Item Info
- //-------------------------------------------------------------------------------------------------------------
- "AbilityManaCost" "300"
- "SideShop" "1"
- "OnSpellStart"
- {
- "ApplyModifier"
- {
- "Target" "CASTER"
- "ModifierName" "modifier_channel_start"
- }
- "FireSound"
- {
- "EffectName" "Hero_Gyrocopter.CallDown.Fire"
- "Target" "CASTER"
- }
- }
- "OnChannelSucceeded"
- {
- "RemoveModifier"
- {
- "Target" "CASTER"
- "ModifierName" "modifier_channel_start"
- }
- "AttachEffect"
- {
- "EffectName" "particles/econ/generic/generic_aoe_explosion_sphere_1/generic_aoe_explosion_sphere_1.vpcf"
- "EffectAttachType" "follow_origin"
- "EffectRadius" "%radius"
- "EffectDurationScale" "1"
- "EffectLifeDurationScale" "1"
- "EffectColorA" "255 0 0"
- "EffectColorB" "255 0 0"
- "Target" "CASTER"
- }
- "Damage"
- {
- "Type" "DAMAGE_TYPE_PURE"
- "Damage" "%damage"
- "Target"
- {
- "Center" "CASTER"
- "Radius" "%radius"
- "Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
- "Types" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
- }
- }
- "Knockback"
- {
- "Center" "CASTER"
- "Target"
- {
- "Center" "CASTER"
- "Radius" "%radius"
- "Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
- }
- "Duration" "%duration"
- "Distance" "%distance"
- "Height" "%height"
- }
- "FireSound"
- {
- "EffectName" "Hero_Gyrocopter.CallDown.Damage"
- "Target" "CASTER"
- }
- }
- "OnChannelFinish"
- {
- "RemoveModifier"
- {
- "Target" "CASTER"
- "ModifierName" "modifier_channel_start"
- }
- }
- "OnChannelInterrupted"
- {
- "RemoveModifier"
- {
- "Target" "CASTER"
- "ModifierName" "modifier_channel_start"
- }
- }
- "Modifiers"
- {
- "modifier_channel_start"
- {
- "OnCreated"
- {
- "AttachEffect"
- {
- "IsHidden" "1"
- "EffectName" "particles/test_particle/channel_field_2.vpcf"//"gyro_calldown_marker_c"//"gyrocopter_call_down"
- "EffectAttachType" "follow_origin"
- "Target" "CASTER"
- "EffectRadius" "%radius"
- "EffectColorA" "255 0 0"
- "EffectColorB" "255 0 0"
- "ControlPoints"
- {
- "00" "50 100 5"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement