Advertisement
Guest User

Consume Item

a guest
Dec 21st, 2015
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. //=================================================================================================================
  2. // Viscous Ooze - Consume Item
  3. //=================================================================================================================
  4. "viscous_ooze_consume_item"
  5. {
  6. "BaseClass" "ability_datadriven"
  7. "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_ITEM | DOTA_ABILITY_BEHAVIOR_TOGGLE"
  8. "AbilityType" "DOTA_ABILITY_TYPE_ULTIMATE"
  9. "AbilityTextureName" "viscous_ooze_consume_item"
  10. "FightRecapLevel" "0"
  11.  
  12. "AbilityCastPoint" "0.0"
  13. "AbilityCooldown" "0"
  14. "AbilityManaCost" "0"
  15.  
  16. "AbilitySpecial"
  17. {
  18. "01"
  19. {
  20. "var_type" "FIELD_INTEGER"
  21. "max_charges" "2 4 6"
  22. }
  23. "02"
  24. {
  25. "var_type" "FIELD_FLOAT"
  26. "consume_cooldown" "5"
  27. }
  28.  
  29. }
  30. "precache"
  31. {
  32. "particle" "particles/items3_fx/octarine_core_lifesteal.vpcf"
  33. "particle" "particles/viscous_ooze_consume_item.vpcf"
  34. }
  35. "OnUpgrade"
  36. {
  37. "RunScript"
  38. {
  39. "ScriptFile" "heroes/hero_viscous_ooze/consume_item.lua"
  40. "Function" "ConsumeItemGainCharges"
  41. }
  42. }
  43. "OnToggleOn"
  44. {
  45. "RunScript"
  46. {
  47. "ScriptFile" "heroes/hero_viscous_ooze/consume_item.lua"
  48. "Function" "ConsumeItemOn"
  49. }
  50. }
  51. "OnToggleOff"
  52. {
  53. "RunScript"
  54. {
  55. "ScriptFile" "heroes/hero_viscous_ooze/consume_item.lua"
  56. "Function" "ConsumeItemOff"
  57. }
  58. }
  59. "Modifiers"
  60. {
  61. "modifier_consume_item_charges"
  62. {
  63. "Passive" "0"
  64. "IsHidden" "0"
  65. "Attributes" "MODIFIER_ATTRIBUTE_PERMANENT"
  66. "TextureName" "alchemist_goblins_greed"
  67. }
  68. "modifier_consume_item_look"
  69. {
  70. "Passive" "0"
  71. "IsHidden" "0"
  72. "Duration" "1.0"
  73.  
  74. "OnCreated"
  75. {
  76. "FireEffect"
  77. {
  78. "EffectName" "particles/units/heroes/hero_venomancer/venomancer_poison_nova_cast.vpcf"
  79. "EffectAttachType" "attach_origin"
  80. "Target" "CASTER"
  81. }
  82. "FireEffect"
  83. {
  84. "EffectName" "particles/econ/courier/courier_flopjaw/flopjaw_death.vpcf"
  85. "EffectAttachType" "follow_origin"
  86. "Target" "CASTER"
  87. }
  88. "FireSound"
  89. {
  90. "EffectName" "DOTA_Item.Cheese.Activate"
  91. "Target" "CASTER"
  92. }
  93. }
  94. }
  95. }
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement