Double attacks

decored

New Member
Reaction score
3
Can a unit be triggered to attack twice or more like anubseran (Dota). Is it possible to throw 2 or more projectile in 1 attack animation
 

sentrywiz

New Member
Reaction score
25
I think there was an ability like that. But if not, I think you can simply add a chance trigger and either:


-order the unit to attack (again) but this might not be possible due to attack speed of the target

-create a dummy that is just like the unit and it to do an attack (though with certain items, like Radiance in Dota, the dummy unit would cause extra damage and that would show something is fishy until dummy unit dies)

-increase the attack speed in the moment of chance so the unit can attack on click and attack through trigger both in fast intervals (most likely a good solution)


I can try something when I'm done with my triggering thingies.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Can a unit be triggered to attack twice or more like anubseran (Dota). Is it possible to throw 2 or more projectile in 1 attack animation
In DotA it's not triggered: it's a modified copy of Orb of Lightning with 100% chance and modified Searing Arrows as the linked ability.
 

decored

New Member
Reaction score
3
In DotA it's not triggered: it's a modified copy of Orb of Lightning with 100% chance and modified Searing Arrows as the linked ability.

Why searing arrows?Then the secondary attacks will deal damage=searing arrows. Correct??? If so any way to link this to my heroes damage.Does setting searing arrows to 0 deals only the heroes damage
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
searing arrows add damage to your units attack power, a damage bonus of 0 for searing arrows would result in 100% normal damage of your unit. however you always have to keep in mind that the orb of lightning ability is bugged, it only fires if the order of the attacking unit is "attack" or "smart". (i know this sounds pretty funny to you but seriously this causes alot of problems!)
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
"smart" is all orders given by simply right-clicking something.
if you use rightclick you issue the order "smart".

well, if the unit is just standing somewhere doing nothing and an enemy approaches your unit will attack him (if the enemy is within aquisation range) though his order wont change to "attack". in this case the orb of lightning wouldnt work.
 

tmow

New Member
Reaction score
7
Do you want this to be a passive ability? that has a cooldown...or every attack?
 

Sim

Forum Administrator
Staff member
Reaction score
534
Just make sure those who use the ability/spell/whatever know that the second attack is only triggered on right-click or attack command.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
well, you could make a trigger like this:
BEWARE! Handwritten
Trigger:
  • SomeTrigger
    • Events
      • Unit - a unit is attacked
    • Conditions
      • Or - Any Condition is true (Conditions)
        • (Current Order of (Attacking Unit)) Not Equal "Attack"
        • (Current Order of (Attacking Unit)) Not Equal "Smart"
    • Actions
      • Unit - Order (Attacking Unit) to attack (Attacked Unit)

this would do the trick, however, if a unit is ordered to "attack" a target it will follow its target until the target is killed or an other order is issued.
Another possibility would be to order the attacking unit to "attack/move" to the position it is currently standing at. (that order would be "smart")
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top