HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Two Attacks types?

03-31-2006, 12:03 AM#1
Linera
First off, Can I have two attack types on a unit with same allowed targets but different cooldowns?

Second, How can I detect with triggers which of the two attacks actually hits?

like
-------------------
If Attack1 hits then
do this

If Attack2 hits then
do this
-------------------

What I'm doing is to make duel wielding units. each attack has its own damage and speed.
03-31-2006, 12:06 AM#2
Taur
err that sounds pretty dumb, I mean if a unit is attacking with two weapons it cannot have two attack speeds. That means in the middle of one attack, it'll replay his attack anim and do another attack? It'll look very messed up, my advice is that of Antiarf (damn hard to spell names), keep it simple. Just attach two weapons, give it some extra damage (bouns mod ftw!), no one will see the difference
03-31-2006, 12:10 AM#3
Linera
Well, WoW does it, two weapons with different attack speeds.

each running a seperate attack.
03-31-2006, 12:22 AM#4
Taur
well wc3 isn't WoW is it?
03-31-2006, 12:27 AM#5
Linera
Well, I'm making a WoW engine and need two attacks like WoW.
03-31-2006, 01:45 AM#6
TaintedReality
To make it look right you would need to do your own animations, so each arm could swing seperately. However, in answer to your question...I've never tried but it shouldn't be hard to test. Just set two different speeds, enable both attacks, and set damage to something easy to count like 1. I'm pretty sure that it won't work actually, but like I said, I've never tried.
03-31-2006, 11:40 AM#7
Captain Griffen
Dummy units are your friend. Only way to really do it I reckon.

EDIT: Or you could fully trigger the attack, since you are triggering the whole combat system anyway.
03-31-2006, 02:37 PM#8
shadow1500
I dont think in WoW it uses attack speed of both weapons..
what i did in IawRPG is take the average attack speed of the two weapons and then increases it a little.
03-31-2006, 03:26 PM#9
Captain Griffen
It does, I think, use the attack speed of both weapons.

EDIT: The 'I think' is merely because it SHOULD do, but it may be bugged.
03-31-2006, 04:53 PM#10
Thunder_Eye
Well if you want attack speed depending on what weapon(item) the hero has you could just add a "gloves of haste" ability to it.
03-31-2006, 07:32 PM#11
Captain Griffen
He wants one unit to use two different attacks in parallel, I think...
03-31-2006, 07:50 PM#12
Thunder_Eye
Hmm that sounds wierd, a unit that attacks two times :S
I dont think that's in wow.
03-31-2006, 10:01 PM#13
TaintedReality
Get a rogue to level 10 and find your nearest rogue trainer :). It's in WoW.
03-31-2006, 10:18 PM#14
Linera
or get a hunter to lvl 20 and go to nearest hunter trainer.
04-01-2006, 08:07 AM#15
Thunder_Eye
Oh he meant dualwield ;P hmm