I have just been asked how to make a unit shot off multiple projectiles at several targets.
So i decided to make a quick tutorial about it.

Introduction:
Have you ever wanted a unit, like an archer, to shoot off multiple arrows at a time?
Well, here's a simple way how to do it without useing any triggers or the like.

Step 1:
Create a new custom ability in the object editor, based on the human ability Barrage.

Step 2:
In order to make the new ability work properly for your unit.
Adjust the field value Stats - Area of Effect to the same as the unit's Combat - Attack 1 - Range.
Do the same with Combat - Attack 1 - Projectile Speed and Combat - Attack 1 - Projectile Arc.Note, here it's for the attack 1.

Step 3:
Set the field Data - Damage Per Target of the ability to the damage you wish the unit to deal.
The field Data - Maximum Total Damage should be the maximum damage the unit deals.

Step 4:
Remove all requirements from the Techtree - Requirements.

Step 5:
Give the ability to your unit(s).

Note:
~The minimum number of targets is 3, since the ability, the units' normal attack, and the Data - Damage Per Target itself adds 1 additional target.
~This ability works automatically since it's a passive ability (constant effect).
~Adjust the field Stats - Hero Ability to True in order to make the ability work for a hero.

A little preview attached..

Quote:

Originally Posted by Warcraft III Ability Guide

Unfortunately combining barrage with other attack enhancing abilities is pretty difficult. Many of them will completely eliminate the effect of barrage like all arrow abilities on autocast except AHfa (Searing Arrows) and many orb abilities. Orb abilities that do have an effect ability field only disable barrage when this effect ability comes into action. All other abilities like critical strike slow poison, freezing breath, lightning attack, liquid fire and similar spells pretty much work with barrage but will always only affect the main target and never the additional barrage targets. Basic enhancements like damage bonus, attack speed bonus and the like however will affect all targets. The AHfa (Searing Arrows) spell is very special. It's the only arrow ability that works with barrage and it even reenables barrage on autocast if it was disabled by an incompatible orb ability allowing to create an autocastable multishot ability.

- Multiple Melee Attack -
Note, you could adjust the multiple shot to work as if it was for melee attacks, but for melee attacks you should base the ability on the neutral hostile Cleaving Attack if you want it for normal units, for heroes, just base the ability on the hero pit lord's Cleaving Attack.

Side Note:
The ability strikes through to enemies near the primary attacked unit (multiple attack).

The only thing you really need to change is:Art - Special ~ For the effect.Art - Icon - Normal ~ For the icon.Data - Distributed Damage Factor ~ Damage.Stats - Area of Effect ~ Range.

Unfortunately combining barrage with other attack enhancing abilities is pretty difficult. Many of them will completely eliminate the effect of barrage like all arrow abilities on autocast except AHfa (Searing Arrows) and many orb abilities. Orb abilities that do have an effect ability field only disable barrage when this effect ability comes into action. All other abilities like critical strike slow poison, freezing breath, lightning attack, liquid fire and similar spells pretty much work with barrage but will always only affect the main target and never the additional barrage targets. Basic enhancements like damage bonus, attack speed bonus and the like however will affect all targets. The AHfa (Searing Arrows) spell is very special. It's the only arrow ability that works with barrage and it even reenables barrage on autocast if it was disabled by an incompatible orb ability allowing to create an autocastable multishot ability.

I think the info about incompatible orb/arrow abilities should be added to the tutorial too.
Especially the part about Searing Arrows that allows you to create autocastable multishot.

Other than that I like the tutorial, can be approved after the above-mentioned is added.

I don't know the hero Gorgen from Dota's ability, but you can find a unprotected dota map here.
However i can see that the latest update was on Nov-26-05, dont know if the ablity you're talking about is included, but you could have a look..

Step 3:
Set the field Data - Damage Per Target of the ability to the damage you wish the unit to deal.
The field Data - Maximum Total Damage should be the maximum damage the unit deals.

This appears not to be the best solution. You can just set the total damage to 0 and it will deal damage based on the attacking unit's damage, as stated in this post in this thread.

__________________

Quote:

Originally posted by Rising_DuskYour spells are mostly ignored because they are not very cool so we aren't very excited to review/approve them, but you are incredibly persistent and won't give us an excuse to graveyard it. That is generally what results in a resource being ignored for a long time.

Originally posted by Kyrbi0Huh. Almost makes me wish I had a girlfriend, to take advantage of today (wait, no, that's not what I meant... I mean, take advantage of the fact that it is international women's day... gah, never mind).

Quote:

Originally posted by PyrogasmRome may not have been built in a day, but the Romans sure as hell didn't say "look at this great city we built guys!" when they had nothing more than a bit of stone and some cottages.