Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.90 KB | None | 0 0
  1. "beardbeard_rum_gun"
  2. {
  3. // General
  4. //-------------------------------------------------------------------------------------------------------------
  5. "BaseClass" "ability_datadriven"
  6. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_AOE | DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING"
  7. "AbilityUnitDamageType" "DAMAGE_TYPE_PHYSICAL"
  8. "SpellImmunityType" "SPELL_IMMUNITY_ENEMIES_NO"
  9. "FightRecapLevel" "1"
  10. "AbilityTextureName" "sniper_shrapnel"
  11. "AOERadius" "%radius"
  12.  
  13. // Casting
  14. //-------------------------------------------------------------------------------------------------------------
  15. "AbilityCastRange" "1800"
  16. "AbilityCastPoint" "0.3 0.3 0.3 0.3"
  17.  
  18. // Cost
  19. //-------------------------------------------------------------------------------------------------------------
  20. "AbilityManaCost" "120 120 120 120"
  21.  
  22. // Stats
  23. //-------------------------------------------------------------------------------------------------------------
  24. "AbilityModifierSupportValue" "0.25" // primarily about damage
  25.  
  26. // Special
  27. //-------------------------------------------------------------------------------------------------------------
  28. "AbilitySpecial"
  29. {
  30. "01"
  31. {
  32. "var_type" "FIELD_INTEGER"
  33. "slow_movement_speed" "-15 -20 -25 -30"
  34. }
  35. "02"
  36. {
  37. "var_type" "FIELD_INTEGER"
  38. "radius" "400"
  39. }
  40. "03"
  41. {
  42. "var_type" "FIELD_FLOAT"
  43. "attack_damage_pct" "100"
  44. }
  45. "04"
  46. {
  47. "var_type" "FIELD_FLOAT"
  48. "slow_duration" "2.0 2.0 2.0 2.0"
  49. }
  50. }
  51.  
  52. // Data driven
  53. //-------------------------------------------------------------------------------------------------------------
  54. "precache"
  55. {
  56. "soundfile" "soundevents/game_sounds_heroes/game_sounds_sniper.vsndevts"
  57. "particle" "particles/units/heroes/hero_sniper/sniper_shrapnel.vpcf"
  58. "particle" "particles/units/heroes/hero_sniper/sniper_shrapnel_launch.vpcf"
  59. "particle" "particles/econ/items/sniper/sniper_charlie/sniper_shrapnel_charlie.vpcf"
  60. }
  61.  
  62. "OnSpellStart"
  63. {
  64. "RunScript"
  65. {
  66. "ScriptFile" "beardbeard_rum_gun_lua.lua"
  67. "Function" "shrapnel_fire"
  68. "Target" "POINT"
  69. }
  70. }
  71. "modifier_shrapnel_dummy_datadriven"
  72. {
  73. "OnCreated"
  74. {
  75. "FireSound"
  76. {
  77. "Target" "TARGET"
  78. "EffectName" "Hero_Sniper.ShrapnelShatter"
  79. }
  80.  
  81. "AttachEffect"
  82. {
  83. "Target" "TARGET"
  84. "EffectName" "particles/units/heroes/hero_sniper/sniper_shrapnel.vpcf"
  85. "EffectAttachType" "follow_origin"
  86. "EffectRadius" "%radius"
  87. }
  88.  
  89. "AttachEffect"
  90. {
  91. "Target" "TARGET"
  92. "EffectName" "particles/econ/items/sniper/sniper_charlie/sniper_shrapnel_charlie.vpcf"
  93. "EffectAttachType" "follow_origin"
  94. "EffectRadius" "%radius"
  95. }
  96.  
  97. "ActOnTargets"
  98. {
  99. "Target"
  100. {
  101. "Center" "TARGET"
  102. "Radius" "%radius"
  103. "Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
  104. "Types" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC | DOTA_UNIT_TARGET_MECHANICAL"
  105. "Flags" "DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
  106. }
  107.  
  108. "Action"
  109. {
  110. "Damage"
  111. {
  112. "Target" "TARGET"
  113. "Damage" "%attack_damage_pct"
  114. "Type" "DAMAGE_TYPE_PHYSICAL"
  115. }
  116.  
  117. "ApplyModifier"
  118. {
  119. "Target" "TARGET"
  120. "ModifierName" "modifier_yo_ho_ho"
  121. }
  122. }
  123. }
  124. }
  125. "ActOnTargets"
  126. {
  127. "Target"
  128. {
  129. "Center" "TARGET"
  130. "Radius" "%radius"
  131. "Teams" "DOTA_UNIT_TARGET_TEAM_ENEMY"
  132. "Types" "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
  133. "MaxTargets" "1"
  134. "Random" "1"
  135. }
  136.  
  137. "Action"
  138. {
  139. "DelayedAction"
  140. {
  141. "Delay" "0.1"
  142.  
  143. "Action"
  144. {
  145. "FireEffect"
  146. {
  147. "EffectName" "particles/units/heroes/hero_mirana/mirana_starfall_attack.vpcf"
  148. "EffectAttachType" "follow_origin"
  149. "Target" "TARGET"
  150. }
  151.  
  152. "DelayedAction"
  153. {
  154. "Delay" "0.1"
  155.  
  156. "Action"
  157. {
  158.  
  159. "FireSound"
  160. {
  161. "EffectName" "Ability.StarfallImpact"
  162. "Target" "TARGET"
  163. }
  164.  
  165. "Damage"
  166. {
  167. "Target" "TARGET"
  168. "Damage" "%attack_damage_pct"
  169. "Type" "DAMAGE_TYPE_PHYSICAL"
  170. }
  171. }
  172. }
  173. }
  174. }
  175. }
  176.  
  177. "Properties"
  178. {
  179. "MODIFIER_PROPERTY_BONUS_DAY_VISION" "%radius"
  180. "MODIFIER_PROPERTY_BONUS_NIGHT_VISION" "%radius"
  181. }
  182.  
  183. "States"
  184. {
  185. "MODIFIER_STATE_INVULNERABLE" "MODIFIER_STATE_VALUE_ENABLED"
  186. "MODIFIER_STATE_NO_HEALTH_BAR" "MODIFIER_STATE_VALUE_ENABLED"
  187. "MODIFIER_STATE_NO_UNIT_COLLISION" "MODIFIER_STATE_VALUE_ENABLED"
  188. "MODIFIER_STATE_NOT_ON_MINIMAP" "MODIFIER_STATE_VALUE_ENABLED"
  189. "MODIFIER_STATE_UNSELECTABLE" "MODIFIER_STATE_VALUE_ENABLED"
  190. "MODIFIER_STATE_FLYING" "MODIFIER_STATE_VALUE_ENABLED"
  191. }
  192. }
  193.  
  194. "modifier_yo_ho_ho"
  195. {
  196. "IsHidden" "0"
  197.  
  198. "Duration" "%slow_duration"
  199.  
  200. "Properties"
  201. {
  202. "MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE" "%slow_movement_speed"
  203. }
  204. }
  205. }
  206. }
  207.  
  208. "beardbeard_big_motherfuckin_cannon"
  209. {
  210. // General
  211. //-------------------------------------------------------------------------------------------------------------
  212. "BaseClass" "ability_datadriven"
  213. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
  214. "AbilityTextureName" "bounty_hunter_jinada"
  215.  
  216. // Precache
  217. //-------------------------------------------------------------------------------------------------------------
  218. "precache"
  219. {
  220. "soundfile" "soundevents/game_sounds_heroes/game_sounds_bounty_hunter.vsndevts"
  221. "particle" "particles/units/heroes/hero_bounty_hunter/bounty_hunter_jinda_slow.vpcf"
  222. "particle" "particles/units/heroes/hero_bounty_hunter/status_effect_bounty_hunter_jinda_slow.vpcf"
  223.  
  224. }
  225.  
  226. // Stats
  227. //-------------------------------------------------------------------------------------------------------------
  228. "AbilityCooldown" "12.0 10.0 8.0 6.0"
  229.  
  230. // Special
  231. //-------------------------------------------------------------------------------------------------------------
  232. "AbilitySpecial"
  233. {
  234. "01"
  235. {
  236. "var_type" "FIELD_INTEGER"
  237. "splash_damage" "100"
  238. }
  239. "02"
  240. {
  241. "var_type" "FIELD_INTEGER"
  242. "splash_radius" "400"
  243. }
  244. "03"
  245. {
  246. "var_type" "FIELD_INTEGER"
  247. "blind" "40 60 80 100"
  248. }
  249. "04"
  250. {
  251. "var_type" "FIELD_FLOAT"
  252. "duration" "3.0 3.0 3.0 3.0"
  253. }
  254. }
  255.  
  256. "Modifiers"
  257. {
  258. "modifier_great_cleave_datadriven"
  259. {
  260. "Passive" "1"
  261. "IsHidden" "1"
  262.  
  263. "OnAttackLanded"
  264. {
  265. "CleaveAttack"
  266. {
  267. "CleavePercent" "%splash_damage"
  268. "CleaveRadius" "%splash_radius"
  269. "CleaveEffect" "particles/units/heroes/hero_sven/sven_spell_great_cleave.vpcf"
  270. }
  271. "ApplyModifier"
  272. {
  273. "ModifierName" "modifier_blind_datadriven"
  274. "Target" "TARGET"
  275. }
  276.  
  277. "FireEffect"
  278. {
  279. "EffectName" "particles/units/heroes/hero_bounty_hunter/bounty_hunter_jinda_slow.vpcf"
  280. "EffectAttachType" "attach_hitloc"
  281. "Target" "TARGET"
  282. }
  283.  
  284. "FireSound"
  285. {
  286. "EffectName" "Hero_BountyHunter.Jinada"
  287. "Target" "TARGET"
  288. }
  289.  
  290. }
  291. }
  292. }
  293.  
  294. "modifier_blind_datadriven"
  295. {
  296. "IsDebuff" "1"
  297. "Duration" "%duration"
  298. "StatusEffectName" "particles/units/heroes/hero_bounty_hunter/status_effect_bounty_hunter_jinda_slow.vpcf"
  299. "StatusEffectPriority" "3"
  300.  
  301. "Properties"
  302. {
  303. "MODIFIER_PROPERTY_MISS_PERCENTAGE" "%blind"
  304. }
  305. }
  306.  
  307. }
  308.  
  309. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement