According to the
Warcraft 3 WE Ability Insight document:
Barrage:
Tags: [Multi Attack Target]
Notes: Can be repurposed as a multi attack ability, Just make sure to change “Targets Allowed”
RawCode: Aroc
Latest tested version: 1.28.5.7680
- “Damage Per Target” and “Maximum Total Damage” don't do anything. Probably deprecated in favor of using the attacks actual damage.
- Maximum Number of Targets below 0 means no extra missiles.
- By default it always causes the unit to shoot 3 projectiles, but if you put Max Targets to 1 and Max Damage to 2, Barrage will only affect 2 units (including primary target). (DracoL1ch)
- If you set values of “Damage Per Target” and “Maximum Number of Targets” to 0, and “Maximum Total Damage” to X, then at most X additional projectiles will be launched. (Prometheus3375)
- If X = 0, then the ability will target all enemies in its range. (Prometheus3375)
- If X = 1, then the ability will target 1 enemy in its range but two projectiles appear due to the normal attack flying against the primary target. (Prometheus3375)
- Area of Effect actually dictates the maximum range the missiles can target enemies.
- No missiles if negative or 0.
- Critical Strike Proc prevents barrage usage
Barrage is incredibly jank for the first three targets since it defaults to 3 targets. To simplify, to create an attack that hits two units, you need to set the Data - Maximum Number of Targets to 1 and the Data - Maximum Total Damage to 2.000. For an attack to hit three units, you need to set Data - Maximum Number of Targets to 1 and the Data - Maximum Total Damage to 0. For four units and onwards, just incrementally add 1 to the Data -Maximum Number of Targets (4 units = 2 max, 5 units = 3 max, etc).
I've attached a demo below.