Advertisement
Guest User

Untitled

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