Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. "Corrosive_Haze_icon"
  2. {
  3. //Created by D2AbilityCreator 2.0
  4. "BaseClass" "ability_datadriven"
  5. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
  6. "AbilityTextureName" "custom/Corrosive_Haze_icon"
  7. "MaxLevel" "1"
  8. "AbilitySpecial"
  9. {
  10. "01"
  11. {
  12. "var_type" "FIELD_FLOAT"
  13. "crit_bonus" "175 200 225"
  14. }
  15. "02"
  16. {
  17. "var_type" "FIELD_FLOAT"
  18. "max_attack" "2"
  19. }
  20. "03"
  21. {
  22. "var_type" "FIELD_INTEGER"
  23. "need_stacks" "3"
  24. }
  25. "04"
  26. {
  27. "var_type" "FIELD_INTEGER"
  28. "lifesteal_percent" "100"
  29. }
  30. }
  31. "Modifiers"
  32. {
  33. "modifier_4_attack_bonus"
  34. {
  35. "Passive" "1"
  36. "IsBuff" "1"
  37. "IsDebuff" "0"
  38. "IsHidden" "0"
  39. "IsPurgable" "0"
  40. "OnAttackLanded"
  41. {
  42. "RunScript"
  43. {
  44. "ScriptFile" "npc_abilities/4_attack_1crit_lifesteal.lua"
  45. "Function" "StillNeedStack"
  46. }
  47. }
  48. }
  49. "modifier_1crit_lifesteal_bonus"
  50. {
  51. "Passive" "0"
  52. "IsBuff" "1"
  53. "IsDebuff" "0"
  54. "IsHidden" "0"
  55. "IsPurgable" "0"
  56. "OnCreated"
  57. {
  58. "RunScript"
  59. {
  60. "ScriptFile" "npc_abilities/4_attack_1crit_lifesteal.lua"
  61. "Function" "SpawnStacks"
  62. }
  63. }
  64. "OnAttackStart"
  65. {
  66. "RunScript"
  67. {
  68. "ScriptFile" "npc_abilities/4_attack_1crit_lifesteal.lua"
  69. "Function" "DecreaseStack"
  70. }
  71. "ApplyModifier"
  72. {
  73. "Target" "CASTER"
  74. "ModifierName" "modifier_lifesteal_bonus"
  75. }
  76. }
  77. "Properties"
  78. {
  79. "MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE" "%crit_bonus"
  80. }
  81. "OnAttackLanded"
  82. {
  83. "RemoveModifier"
  84. {
  85. "Target" "CASTER"
  86. "ModifierName" "modifier_lifesteal_bonus"
  87. }
  88. }
  89. }
  90. "modifier_lifesteal_bonus"
  91. {
  92. "Passive" "0"
  93. "IsBuff" "0"
  94. "IsDebuff" "0"
  95. "IsHidden" "0"
  96. "IsPurgable" "0"
  97. "OnAttack"
  98. {
  99. "Lifesteal"
  100. {
  101. "Target" "CASTER"
  102. "LifestealPercent" "%lifesteal_percent"
  103. }
  104. }
  105. }
  106. }
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement