#How can you do projectile modifier with an autocast in lua.

1 messages · Page 1 of 1 (latest)

exotic hawk
#

I want to make something like silencer glaives of wisdom, so you have projectile modificator and debuff stacking on enemy, however i have no idea how to make your hero default attack to change to something else as well as apply stackable debuff on enemy.

stable crow
#

you need:

  • an ability with behavior DOTA_ABILITY_BEHAVIOR_ATTACK,DOTA_ABILITY_BEHAVIOR_AUTOCAST and DOTA_ABILITY_BEHAVIOR_UNIT_TARGET
  • a modifier that can listen OnAttackLaneded event, and with the property to change your projectile (MODIFIER_PROPERTY_PROJECTILE_NAME
  • a modifier that can be stacked
    complete!
exotic hawk
tranquil flareBOT
stable crow
#

it's a modifier function