• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Problem with Moon Glaive

Status
Not open for further replies.
Level 4
Joined
Feb 23, 2009
Messages
99
How can I make a unit has bounce attack after it learns an ability? and how to set the number of units get hit by the bounce attack?
 
Level 6
Joined
Aug 19, 2006
Messages
187
when you edit a unit there are these points in the combat settings.
-> max targets sets the number of how much units can be hit
-> weapon type take bounce here
-> area low damage
-> area medium damage
-> area full damage sets the bounce range

and then make a upgrade which increases the number of allowed targets.
 
Level 3
Joined
Jul 13, 2008
Messages
38
when you edit a unit there are these points in the combat settings.
-> max targets sets the number of how much units can be hit
-> weapon type take bounce here
-> area low damage
-> area medium damage
-> area full damage sets the bounce range

and then make a upgrade which increases the number of allowed targets.

To do as he said you would need to do this also.
Make a upgrade that effects the max nuber of targets a unit can acuire.
Make a skill that the unit learns.
Set these two new items inside the trigger at there respected places. Example:
  • Bounce
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Bounce - Max targets
    • Actions
      • Player - Set the current research level of Increase Max Bounce Targets to (Level of Bounce - Max targets for (Learning Hero)) for (Owner of (Triggering unit))
 
when you edit a unit there are these points in the combat settings.
-> max targets sets the number of how much units can be hit
-> weapon type take bounce here
-> area low damage
-> area medium damage
-> area full damage sets the bounce range

and then make a upgrade which increases the number of allowed targets.
I didn't know the max targets affected abilities such as moon glaive.
I always thought it had to do with AOE things. I learned something =p
 
Status
Not open for further replies.
Top