dEN5

Untitled

Jan 17th, 2020
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. "spirit_breaker_haste_armor"
  2. {
  3.  
  4. // General
  5. //-------------------------------------------------------------------------------------------------------------
  6. "BaseClass" "ability_datadriven"
  7. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
  8. "AbilityTextureName" "spirit_breaker_charge_of_darkness_alt"
  9. "MaxLevel" "7"
  10. "LevelsBetweenUpgrades" "9"
  11.  
  12.  
  13. "AbilitySpecial"
  14. {
  15. "01"
  16. {
  17. "var_type" "FIELD_FLOAT"
  18. "speed_to_armor_percent_tooltip" "5 10 15 30 45 60 100"
  19. }
  20. "01"
  21. {
  22. "var_type" "FIELD_FLOAT"
  23. "speed_to_armor" "0.05 0.10 0.15 0.30 0.45 0.60 1.0"
  24. }
  25. }
  26. "OnUpgrade"
  27. {
  28. "RunScript"
  29. {
  30. "ScriptFile" "lua_abilities/abilities_simple.lua"
  31. "Function" "refresh_haste_armor"
  32. }
  33. }
  34. "Modifiers"
  35. {
  36. "haste_armor_bonus"
  37. {
  38. "Passive" "0"
  39. "IsHidden" "0"
  40. "IsBuff" "1"
  41. "IsDebuff" "0"
  42. "IsPurgable" "0"
  43. "Attributes" "MODIFIER_ATTRIBUTE_IGNORE_INVULNERABLE"
  44. "Properties"
  45. {
  46. "MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS" "%speed_to_armor"
  47. }
  48. }
  49. "haste_armor_tooltip"
  50. {
  51. "Passive" "1"
  52. "IsHidden" "1"
  53. "OnCreated"
  54. {
  55. "RunScript"
  56. {
  57. "ScriptFile" "lua_abilities/abilities_simple.lua"
  58. "Function" "haste_armor"
  59. }
  60. }
  61. }
  62. }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment