How do I make 2 skills into one ?

gjcraig

New Member
Reaction score
2
I want to combine Black Arrow and Multi-shot "from Barrage" into a "Black Arrow Multi-shot". How do I do this ?
 

Volkof

Well-Known Member
Reaction score
31
Well Black arrow and multishot does not stack, so you need to trigger.

Whenever your Hero attack a unit, check if there is another enemy unit nearby, then create a dummy unit, give it Black Arrow and order dummy to cast it.

You can use a loop if your multishot has, for example hits 5 targets. Then, pick a random unit near the attacked unit and add it in a group so that it wont be picked again. Loop 4 times, and at the end of the trigger destroy the group to reset it.

Cheerio
 

Ayanami

칼리
Reaction score
288
Well Black arrow and multishot does not stack, so you need to trigger.

Whenever your Hero attack a unit, check if there is another enemy unit nearby, then create a dummy unit, give it Black Arrow and order dummy to cast it.

You can use a loop if your multishot has, for example hits 5 targets. Then, pick a random unit near the attacked unit and add it in a group so that it wont be picked again. Loop 4 times, and at the end of the trigger destroy the group to reset it.

Cheerio

But the dummy's damage and the hero's damage will be different.
 

gjcraig

New Member
Reaction score
2
Well Black arrow and multishot does not stack, so you need to trigger.

Whenever your Hero attack a unit, check if there is another enemy unit nearby, then create a dummy unit, give it Black Arrow and order dummy to cast it.

You can use a loop if your multishot has, for example hits 5 targets. Then, pick a random unit near the attacked unit and add it in a group so that it wont be picked again. Loop 4 times, and at the end of the trigger destroy the group to reset it.

Cheerio

Wow thanks, I have never actually made a trigger - just adjusted a few numbers on some. Is there something I can just copy an paste to put it in there ?
 

gjcraig

New Member
Reaction score
2
But the dummy's damage and the hero's damage will be different.

I can live with that. Main target gets the most damage and the other targets gets less im not picky I just want an Ulti type shot that blast the area with arrows and makes some minions out of the deaths.
 

ChaosWarlock

New Member
Reaction score
7
You could set the dummy to have 1 damage and then order it to do damage equal to the Hero's damage -1 to the unit after it shoots the arrow.
 

gjcraig

New Member
Reaction score
2
re

Is there any way you could post the dummy trigger here so I know what to type up ? I have never made a trigger before and putting these 2 skills together is something I would love to see.
Maybe it would be easier to just add the spawning trigger to the multi-shot instead ?
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Maybe it would be easier to just add the spawning trigger to the multi-shot instead ?

Good idea. Add a normal multishot to your hero (but rename it) and add this trigger:
Trigger:
  • Black Arrows Multi
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow Multishot for (Killing unit)) Not equal to 0
    • Actions
      • Unit - Create (Level of Black Arrow Multishot for (Killing unit)) Dark Minion for (Owner of (Killing unit)) at TempPoint facing Default building facing degrees


But that's just an example, you can change the numbers or if you really want to use the method with dummies, tell me.
 

Ayanami

칼리
Reaction score
288
Barrage deals different damage too.


Good idea. Add a normal multishot to your hero (but rename it) and add this trigger:
Trigger:
  • Black Arrows Multi
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow Multishot for (Killing unit)) Not equal to 0
    • Actions
      • Unit - Create (Level of Black Arrow Multishot for (Killing unit)) Dark Minion for (Owner of (Killing unit)) at TempPoint facing Default building facing degrees


But that's just an example, you can change the numbers or if you really want to use the method with dummies, tell me.

Won't this cause minions to spawn as long as it is killed? Meaning skills would summon to minions too. Barrage deals the exact same damage as long as you set the damage at 0 (I think).
 

asipo

New Member
Reaction score
15
How bout
Use the if unit is killed then mosnter will spawn trigger (I name it ABC trigger)

but this time add some kind of checking to check the black arrow is activate
If activate, then enable trigger ABC, if off then disable trigger ABC
And of course this checking is actually a trigger also (called it XYZ trigger)

Solution:
Create 1 skill immolation and name it "Black arrow"
Create 1 trigger called XYZ where when the user cast the "Black arrow" it will activate trigger ABC

This is not a good solution, but i guess its enough for GUI.

If the mana consumption is based on number of attack and not mana over time,
then need to create another trigger like "when hero attacking, trigger ABC is enable, then -10 mana from hero"
 

gjcraig

New Member
Reaction score
2
Barrage deals different damage too.


Good idea. Add a normal multishot to your hero (but rename it) and add this trigger:
Trigger:
  • Black Arrows Multi
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow Multishot for (Killing unit)) Not equal to 0
    • Actions
      • Unit - Create (Level of Black Arrow Multishot for (Killing unit)) Dark Minion for (Owner of (Killing unit)) at TempPoint facing Default building facing degrees


But that's just an example, you can change the numbers or if you really want to use the method with dummies, tell me.

Ok I tried this trigger and had it identical except I couldn't find TempPoint to put in it. It didn't work. This is my first time trying to do a trigger though so maybe I did something wrong. Did you get it to work ?
 

Ayanami

칼리
Reaction score
288
TempPoint is a location variable. You can set variables by pressing CTRL + B in the trigger editor. I think the trigger is supposed to be something like this.

Trigger:
  • Events
    • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow Multishot for (Killing unit)) Not equal to 0
    • Actions
      • Set TempPoint = (Position of (Killing unit))
      • Unit - Create (Level of Black Arrow Multishot for (Killing unit)) Dark Minion for (Owner of (Killing unit)) at TempPoint facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempPoint)
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
TempPoint is a location variable. You can set variables by pressing CTRL + B in the trigger editor. I think the trigger is supposed to be something like this.

Trigger:
  • Events
    • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow Multishot for (Killing unit)) Not equal to 0
    • Actions
      • Set TempPoint = (Position of (Killing unit))
      • Unit - Create (Level of Black Arrow Multishot for (Killing unit)) Dark Minion for (Owner of (Killing unit)) at TempPoint facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempPoint)

TempPoint is a point* variable.

Location is in jass.
 

Ayanami

칼리
Reaction score
288
Haha, I meant location as in point. Well it is point variables. Was just referring point as "location" in layman's term.
 

HydraRancher

Truth begins in lies
Reaction score
197
Trigger:
  • Set TempPoint = (Position of (Killing unit))

Dont u mean?
Trigger:
  • Set TempPoint = (Position of (Dying unit))
 

asipo

New Member
Reaction score
15
First, make sure the hero have the barrage spell and its working properly.

Then create a spell from immolation and named it "Black Arrows"

Then create a new buff and replace the immolation buff

The buff called "Black Arrow" is actually a buff that can be seen on the hero (the caster) when the hero start to cast the immolation

Then create this trigger

Trigger:
  • Black Arrows Multi
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow for (Killing unit)) Greater than 0
      • ((Killing unit) has buff Black Arrow) Equal to true
    • Actions
      • Unit - Create 1 Peasant for Player 1 (Red) at (Position of Triggering unit)) facing Default building facing degrees


Here the example, sooner or later i will remove this attachment
View attachment Testing map 1234.w3x
 

gjcraig

New Member
Reaction score
2
First, make sure the hero have the barrage spell and its working properly.

Then create a spell from immolation and named it "Black Arrows"

Then create a new buff and replace the immolation buff

The buff called "Black Arrow" is actually a buff that can be seen on the hero (the caster) when the hero start to cast the immolation

Then create this trigger

Trigger:
  • Black Arrows Multi
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Black Arrow for (Killing unit)) Greater than 0
      • ((Killing unit) has buff Black Arrow) Equal to true
    • Actions
      • Unit - Create 1 Peasant for Player 1 (Red) at (Position of Triggering unit)) facing Default building facing degrees


Here the example, sooner or later i will remove this attachment
View attachment 32326

Ok I fixed it. Instead of player 1 (red) you have to put in owner of killing unit and it works perfectly. that was actually off of Glenphirs trigger idea. Wow is this cool but way too over powered - now to nerf it down to make it balanced ;) Thanks so much Asipo and Glenphir !!!!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • 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
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      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