Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=================================================================================================================
- // Windrunner: Powershotx
- //=================================================================================================================
- "windrunner_powershotx"
- {
- // General
- //-------------------------------------------------------------------------------------------------------------
- "BaseClass" "ability_datadriven" // unique ID number for this ability. Do not change this once established or it will invalidate collected stats.
- "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_POINT"
- "AbilityUnitDamageType" "DAMAGE_TYPE_PHYSICAL"
- "FightRecapLevel" "1"
- // Casting
- //-------------------------------------------------------------------------------------------------------------
- "AbilityCastRange" "1800"
- "AbilityCastPoint" "0.3 0.3 0.3 0.3"
- // Time
- //-------------------------------------------------------------------------------------------------------------
- "AbilityCooldown" "5.0 5.0 5.0 5.0"
- // Cost
- //-------------------------------------------------------------------------------------------------------------
- "AbilityManaCost" "20 20 20 20"
- // Effects
- //-------------------------------------------------------------------------------------------------------------
- "OnSpellStart"
- {
- "LinearProjectile"
- {
- "Target" "POINT"
- "EffectName" "particles/units/heroes/hero_windrunner/windrunner_spell_powershot.vpcf"
- "MoveSpeed" "%speed"
- "StartRadius" "%radius"
- "EndRadius" "%radius"
- "AbilityUnitTargetTeams" "DOTA_UNIT_TARGET_ENEMY"
- "AbilityUnitTargetTypes" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
- "AbilityUnitTargetFlags" "DOTA_UNIT_TARGET_FLAG_NONE"
- "HasFrontalCone" "0"
- "ProvidesVision" "1"
- "VisionRadius" "400"
- }
- "FireSound"
- {
- "EffectName" "Ability.Powershot"
- }
- }
- "OnProjectileHitUnit"
- {
- "Damage"
- {
- "Target" "TARGET"
- "Type" "DAMAGE_TYPE_PHYSICAL"
- "Damage" "360"
- }
- "DeleteOnHit" "false"
- "ApplyModifier"
- {
- "ModifierName" "windrunner_powershotx"
- "Duration" "%duration"
- "Target" "TARGET"
- }
- "FireSound"
- {
- "EffectName" "Hero_Windrunner.PowershotDamage"
- }
- }
- "Modifiers"{
- "windrunner_powershotx"
- {
- "Duration" "%duration"
- "IsDebuff" "1"
- "TextureName" "windrunner_powershot"
- "Properties"
- {
- "MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE" "-50"
- "MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT" "-50"
- }
- }
- }
- //Specials
- //----------------------------------------------------------------------------------------------
- "AbilitySpecial"
- {
- "01"
- {
- "var_type" "FIELD_INTEGER"
- "speed" "3000 3000 3000 3000"
- }
- "02"
- {
- "var_type" "FIELD_INTEGER"
- "radius" "200 200 200 200"
- }
- "03"
- {
- "var_type" "FIELD_FLOAT"
- "duration" "5.0 5.0 5.0 5.0"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement