Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. //=================================================================================================================
  2. // Windrunner: Powershotx
  3. //=================================================================================================================
  4. "windrunner_powershotx"
  5. {
  6. // General
  7. //-------------------------------------------------------------------------------------------------------------
  8. "BaseClass" "ability_datadriven" // unique ID number for this ability. Do not change this once established or it will invalidate collected stats.
  9. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_POINT"
  10. "AbilityUnitDamageType" "DAMAGE_TYPE_PHYSICAL"
  11. "FightRecapLevel" "1"
  12.  
  13. // Casting
  14. //-------------------------------------------------------------------------------------------------------------
  15. "AbilityCastRange" "1800"
  16. "AbilityCastPoint" "0.3 0.3 0.3 0.3"
  17.  
  18. // Time
  19. //-------------------------------------------------------------------------------------------------------------
  20. "AbilityCooldown" "5.0 5.0 5.0 5.0"
  21.  
  22. // Cost
  23. //-------------------------------------------------------------------------------------------------------------
  24. "AbilityManaCost" "20 20 20 20"
  25.  
  26. // Effects
  27. //-------------------------------------------------------------------------------------------------------------
  28. "OnSpellStart"
  29. {
  30. "LinearProjectile"
  31. {
  32. "Target" "POINT"
  33. "EffectName" "particles/units/heroes/hero_windrunner/windrunner_spell_powershot.vpcf"
  34. "MoveSpeed" "%speed"
  35. "StartRadius" "%radius"
  36. "EndRadius" "%radius"
  37. "AbilityUnitTargetTeams" "DOTA_UNIT_TARGET_ENEMY"
  38. "AbilityUnitTargetTypes" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
  39. "AbilityUnitTargetFlags" "DOTA_UNIT_TARGET_FLAG_NONE"
  40. "HasFrontalCone" "0"
  41. "ProvidesVision" "1"
  42. "VisionRadius" "400"
  43. }
  44. "FireSound"
  45. {
  46. "EffectName" "Ability.Powershot"
  47. }
  48. }
  49. "OnProjectileHitUnit"
  50. {
  51. "Damage"
  52. {
  53. "Target" "TARGET"
  54. "Type" "DAMAGE_TYPE_PHYSICAL"
  55. "Damage" "360"
  56. }
  57. "DeleteOnHit" "false"
  58. "ApplyModifier"
  59. {
  60. "ModifierName" "windrunner_powershotx"
  61. "Duration" "%duration"
  62. "Target" "TARGET"
  63. }
  64. "FireSound"
  65. {
  66. "EffectName" "Hero_Windrunner.PowershotDamage"
  67. }
  68. }
  69. "Modifiers"{
  70. "windrunner_powershotx"
  71. {
  72. "Duration" "%duration"
  73. "IsDebuff" "1"
  74. "TextureName" "windrunner_powershot"
  75. "Properties"
  76. {
  77. "MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE" "-50"
  78. "MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT" "-50"
  79. }
  80. }
  81. }
  82. //Specials
  83. //----------------------------------------------------------------------------------------------
  84. "AbilitySpecial"
  85. {
  86. "01"
  87. {
  88. "var_type" "FIELD_INTEGER"
  89. "speed" "3000 3000 3000 3000"
  90. }
  91. "02"
  92. {
  93. "var_type" "FIELD_INTEGER"
  94. "radius" "200 200 200 200"
  95. }
  96. "03"
  97. {
  98. "var_type" "FIELD_FLOAT"
  99. "duration" "5.0 5.0 5.0 5.0"
  100. }
  101.  
  102. }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement