double attack in every successful attack

snmiglight

Active Member
Reaction score
3
hey guys... just wanna hear some feedbacks from you

is it possible to make a trigger that causes the unit from attacking twice just like Dota's Geminate Attack, but instead of cooling down, triggered in every attack, let's say in every 6/5/4 attacks, just like the old Overload (w/c is Storm Spirit's third skill in Dota). Another thing, could be possible for it to be non-Orb, for the hero im currently working on has an autocast on its skill set. I'm thinking that on the double attack stuff, whenever the conditions are met, then the base attack cooldown should be 0.01 for the next two attacks, then restore the original attack cooldown... can it be codeable for GUI?

SIMPLY PUT: I want a Double Attack skill like in Dota, but in a non-Orb form so that it can still double attack with orbs, crits, or bash, and is triggered in every attack like Overload.



thanks in advance... ^^
 

Nexor

...
Reaction score
74
You should create another Unit based on your Hero/unit and set all stuff the same as your Hero/unit, give it locust and order it to attack the target, then remove, or hide (if you hide it, you dont have to create every time the hero/unit)
 

snmiglight

Active Member
Reaction score
3
You should create another Unit based on your Hero/unit and set all stuff the same as your Hero/unit, give it locust and order it to attack the target, then remove, or hide (if you hide it, you dont have to create every time the hero/unit)

but my hero has an autocast skill, lets say searing arrow, is there a code that enables that dummy to copy its autocast skill?? (that's the reason why i want the double attack to be non-orb) and if my hero has crit, bash whatsoever on its inventory, is there a code for the dummy to inherit it on its attack? thanks for reply ^^
 

Nexor

...
Reaction score
74
you should set the abilities to the same level and the give the items to the dummy too. make a trigger that checks if you turn on or off the autocast ability, if it's on then everytime the normal hero attacks move the dummy and make the same as the original and order it to attack the target, if its off then make nothing. and make another trigger for manually casting the autocast ability and do the same as above.
 

snmiglight

Active Member
Reaction score
3
now i get it... how about the trig about every attacks? how can i do it? im still newbie in WE.. i want it MUI... thnks again
 

Nexor

...
Reaction score
74
I think I will make it for you today, but now I have to go :)
Just wait for it, and tell me what's the unit you based it on, and the autocast ability.
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Here i found it. Next time do a little searching urself :). Give credits to AoW
 

Nexor

...
Reaction score
74
He asked for a NON-ORB ability...

I'm just about to make your skill (should it be MPI/MUI or just Single Player Instable?)
 

Firezy

New Member
Reaction score
14
This is what I used, basically it makes a dummy unit cast Unholy Frenzy on the unit giving to 400% attack speed for a second

Shadow Strike is my skill
Unit is a dummy unit

Code:
Shadow Strike
    Events
        Unit - A unit Is attacked
    Conditions
    Actions
        Set Caster_Loc = (Position of (Triggering unit))
        Set DA_Attacker = (Attacking unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random real number between 1.00 and 100.00) Less than or equal to (20.00 x (Real((Level of Shadow Strike  for DA_Attacker))))
            Then - Actions
                Unit - Create 1 Unit for (Owner of DA_Attacker) at Caster_Loc facing Caster_Loc
                Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy DA_Attacker
                Set p_sstrike = (Position of (Attacking unit))
                Special Effect - Create a special effect at p_sstrike using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
                Special Effect - Destroy (Last created special effect)
                Custom script:   call RemoveLocation(udg_p_sstrike)
                Trigger - Turn off (This trigger)
                Wait 1.00 seconds
                Trigger - Turn on (This trigger)
            Else - Actions
        Custom script:   call RemoveLocation(udg_Caster_Loc)

This is just to double attack... dunno how you wanna modify it though
 

Nexor

...
Reaction score
74
Sorry man, I tried it it works quite well, but you are able to select the Hero with Locust, dunno why, it will be easier to use the orb skill with searing arrows, I made 5 triggers to make it work, but it won't work correctly at some points...
 

snmiglight

Active Member
Reaction score
3
thank guys for the help... but i guess i really need to have its attack geminated, not by a dummy, but using the hero's REAL attack. as i have said before, i need the skill together with an autocast skill; and should we use a dummy unit; it will (the autocast) not correctly work with this skill... (because of the autocast's framework.. as i can see it) anyways, HERE is the autocast skill that should work with this. (i haven't made a code for this skill yet, however, for i dont know how to and i haven't gained access to the internet for the past 8 months.)
 

Igor_Z

You can change this now in User CP.
Reaction score
61
So use the 1 that i gaved u. I gave u a link which the spell is made in object editior i think
 

snmiglight

Active Member
Reaction score
3
no, it wont work; for the skill set i intend to work with this one has an autocast...(an orb autocast; based on searing arrows; the link you gave uses searing arrow as orb, if i use it, every attack will ALWAYS be doubled.) the one you gave is based on an Orb... what i need is a non-orb double attack...
 

Nexor

...
Reaction score
74
If your really need it to be autocasted, I suggest to use a dummy unit with the model of the projectile, move it to the target remove it and deal the same damage as the original unit.
 

snmiglight

Active Member
Reaction score
3
i do really think that using a dummy unit will not work... actually my autocast skill is like this.. an autocast skill that drains target's movespeed by n% and then increasing caster's attackspeed by n%; stacks up to six times... can this skill work even i use a dummy unit to geminate the attack? what i want in mind is that both skills should work... click HERE for more info for my autocast....
 

Nexor

...
Reaction score
74
I think that you should make the geminate attack using orb effect, and only enable one of these. So it's a bit balanced :)
you won't attack the enemy twice while slowing it.
 

snmiglight

Active Member
Reaction score
3
I think that you should make the geminate attack using orb effect, and only enable one of these. So it's a bit balanced :)
you won't attack the enemy twice while slowing it.

yes i know, it's quite imbalanced... but actually by using the mechanics using orb will do further imbalances... for the autocast itself is an orb!! means that should i autocast it then every attack will do double.

I found this :p its not an orb but you need NewGen
Give credits to the maker by the way =)

Double Shot

how can i edit this to trigger in every... lets say 6/5/4 attacks??

dont know how read JASS... sorry ^^


EDIT: i think i've got an idea... does anyone here knows how DOTA's overpower work? it's an active skill that increases its caster's attackspeed by 500% when cast, only for the next 5 attacks. what i have in mind is to use the same principle aand apply it to the next 2 attacks only; and aside from attackspeed bonus, also sets the buffed unit's attack cooldown to 0.01 then restore it after the next 2 attacks. but my question is: is there a code that can alter a unit's base attack cooldown?
about triggering the skill in every successful attacks, what i am thinking is that when the buff that alters the unit's attack cooldown is onthe triggering unit, the attacks will not be counted as the attacks that will be triggering the attack gemination. i found this skill, and i think this' gonna be helpful, but it is written in JASS and i dont understand it...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top