• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Multi-shot Ability

Status
Not open for further replies.
Level 1
Joined
Jun 6, 2008
Messages
4
Hello!

I'm trying to implement a hero skill that allows the hero to switch attack modes, so he can attack multiple enemies with a damage loss depending on the number of enemies hit (50% damage for 2 targets, etc.).

I tried using Barrage and got the number of targets going when the hero switches, but could not get the damage loss going. What could I do or use to get it working?

I tried searching the forum but found nothing that could help. I hope someone can shed some light on this. Thank you!
 
Level 10
Joined
Sep 6, 2007
Messages
440
You can pick every unit in a certain degree to attacker. I don't know what would you need for this but I'm sure someone will suggest. Then you can add a self aura which has levels depending on the max targets the attacker can handle. Then you would pick units and count them. Then you would set their count to the hero level.

Off Topic : I love how people only make accounts to ask stuff and just leave here. I love their stupid names. Their names are usually a hero name or an item name existing in a game...
 
Level 1
Joined
Jun 6, 2008
Messages
4
Not sure how I can do that; I only recently began map-making (so far I only play around with basic abilities and know nothing about triggers and the like). But I'll give it a shot. Thanks!
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Eh, do not use that it is totally different no use barrage.
Minimum number of targets is 3 (when you set the maximum number of targets to 1).
In the object editor set the damage per target to 1
and the maximum damage to 99999.
This will give you multiple shot.
You want to have some damage loss, then use defend(human>footman) so this skill has to be a combination of both. Chance to deflect - 0,attack speed factor - 0,damage dealt - whatever you want it to be, damage taken - 1.00 deflect damage taken piercing 0(not sure about this one), deflect damage taken spells 1, magic damage reduction 1 movement speed factor - 0.
 
Level 1
Joined
Jun 6, 2008
Messages
4
Actually what I meant by damage loss is that his attack damage is halved when he attacks 2 targets (his total damage is distributed between the 2).

Thanks for the suggestions, I'll see if I get any working. :)
 
Level 3
Joined
May 12, 2006
Messages
31
Spiwn says the right thing. if you have 2 arrows, and do a 50% damage, then 2*0,5 = 1.
you only have to level the deflect so on...
3 arrow ->33% damage
4 arrows -> 25% damage ...
and put the deflect in a disabled spellbook. (by the way, isn't there a native skill for this? - dota multishot? - naga don't have it?)
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Well if that was the case, yeah.
But he wants a Multiple Shot Ability with a limit lets say 10 targets.
He attacks.
There are 5 units around him
He attacks all.
And each takes 20% of the damage.
If there were 10 units than 10%.
 
Level 3
Joined
May 12, 2006
Messages
31
awww. you are right. I'll have to overcome this problem. it will be useful for me too. by the way. i want to make multishot with mana request... maybe a dummy spell will work for it, but then it will make many ability disabling/enabling...
 
Status
Not open for further replies.
Top