Murloc Net Ability Problem

oobee

New Member
Reaction score
0
I'm making a Murloc hero who can summon more murlocs.
Each murloc, including the hero, can use the following skill:

Net (Murloc)
Gives a 3% chance that an attack will net three random targets in a small area for 1 second.
-Passive skill, already learned and ready to use
-The "small area" is a 700 unit radius, thus they can net those who are behind them


So far I've only been able to make it occur like that of the Bash:banghead: skill.

My editing ability is pretty limited, and I'm only using vanilla WE.
If any suggestions speak of Triggers or Dummy units and such, please be specific, as I have no idea how to do that stuff.

Thank you in advance, all you friendly peoples. :)


Future signature:
The more you tell me, the more I get to learn.
 

XxShadyxX

I abused the rep system.
Reaction score
81
Okay.
First of all Do you know what a dummy unit is?
If you do make a dummy unit and give it ensnare ability.
Next for the ability trigger
Maker a event.
Unit attacks a unit
Unit has "murloc Snare.
if random integer between 1 and 100 equal to or less than 3
Create "dummy" unit at postion of triggering unit
Order "Dummy" to ability- Ensnare a random unit within 700 of triggering unit.
Create "dummy" unit....
Etc..
Etc..
 

oobee

New Member
Reaction score
0
Do not know what a dummy unit is, so, unfortunately, the rest of that made little sense to me. :(
 

XxShadyxX

I abused the rep system.
Reaction score
81
Oh I'm sorry.
I should have explained better.
Do you need help on anything?
 

oobee

New Member
Reaction score
0
It all makes sense to me for now since I have a clear understanding of a Dummy Unit.
I've had some experience messing with triggers, but I may need more help if I run into any snags. :)
 

oobee

New Member
Reaction score
0
Okay.
First of all Do you know what a dummy unit is?
If you do make a dummy unit and give it ensnare ability.
Next for the ability trigger
Maker a event.
Unit attacks a unit
Unit has "murloc Snare.
if random integer between 1 and 100 equal to or less than 3
Create "dummy" unit at postion of triggering unit
Order "Dummy" to ability- Ensnare a random unit within 700 of triggering unit.
Create "dummy" unit....
Etc..
Etc..

Curious, do I need to make the Dummy's spell have range, or no range?
I also can't seem to find any event marker regarding "unit attacks a unit" or similar.
 

oobee

New Member
Reaction score
0
Progress Report: Standstill

The following still has yet to be answered, not sure if it needs to be though:
Curious, do I need to make the Dummy's spell have range, or no range?


I'm also having trouble with the trigger for the Dummy casters.
Here's how it looks as of right now:

Trigger:
  • Events
    • Unit - A unit Is attacked
    • Conditions
      • currentLearnedAbility Equal to Net (Murloc)(Unit)
      • (Triggering unit) Equal to (Attacking unit)
      • (Random integer number between 1 and 100) Less than or equal to 100
    • Actions
      • Unit - Create 1 Dummy for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit))))
      • Unit - Remove (Last created unit) from the game

I'm not sure about the Event, the first Condition, or the Action giving the order to the dummy unit(the Action doesn't let me choose custom abilities).
I'm keeping the random integer as it is in order to make sure the trigger works. I can edit it later.

Unfortunately, something is wrong, but I can't figure out how to fix the issue.
 

nabbig2

New Member
Reaction score
43
The following still has yet to be answered, not sure if it needs to be though:



I'm also having trouble with the trigger for the Dummy casters.
Here's how it looks as of right now:

Trigger:
  • Events
    • Unit - A unit Is attacked
    • Conditions
      • currentLearnedAbility Equal to Net (Murloc)(Unit)
      • (Triggering unit) Equal to (Attacking unit)
      • (Random integer number between 1 and 100) Less than or equal to 100
    • Actions
      • Unit - Create 1 Dummy for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit))))
      • Unit - Remove (Last created unit) from the game

I'm not sure about the Event, the first Condition, or the Action giving the order to the dummy unit(the Action doesn't let me choose custom abilities).
I'm keeping the random integer as it is in order to make sure the trigger works. I can edit it later.

Unfortunately, something is wrong, but I can't figure out how to fix the issue.

Try putting a wait before you remove the unit. (In that case however, you need to assign the unit to a variable.)
 

oobee

New Member
Reaction score
0
Try putting a wait before you remove the unit. (In that case however, you need to assign the unit to a variable.)

Any suggestions on how long the wait should be?
And how exactly do I assign a unit to a variable?
 

nabbig2

New Member
Reaction score
43
2 seconds should be enough.

Go to the variable editor and make a Unit variable. Then in actions, search for "set"-this leads you to set a variable. And just set the variable to the last created unit, before the wait. And use the variable after the wait instead if Last Created Unit.
 

oobee

New Member
Reaction score
0
I'm thinking my biggest issue is with this:

Trigger:
  • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit))))


The Orc Raider - Ensnare is the only ability similar to the Dummy's that I can get him to cast, but it's not his own ability. :banghead:
 

HellCraft

Member
Reaction score
19
Add a 2 second generic unit expiration timer instead of a wait(it makes it MUI)
Also check if the dummy unit has the ensnare spell(ensnare spell should have 0 mana cost and 0 cooldown)
 

oobee

New Member
Reaction score
0
Progress with a snag

Okay. So the skill is working... sort of.
As of right now, I've left out the percentage, just so I can test to see if the skill is working.

The snag? It's targeting my units, not the enemy units.
Here's how the trigger looks right now:

Trigger:
  • Netting
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Netting ) Equal to True
      • ((Attacked unit) has buff Netting ) Equal to False
    • Actions
      • Unit - Create 1 Dummy for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit)) matching (((Attacked unit) has buff Netting ) Equal to False)))
      • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
 

HellCraft

Member
Reaction score
19
instead of:
Trigger:
  • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit)) matching (((Attacked unit) has buff Netting ) Equal to False)))


Put:
Trigger:
  • Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Units within 700.00 of (Position of (Triggering unit)) matching (((Matching unit) is an enemy of (Owner of(Casting Unit)) Equal to True)))


this will ensure that the target unit is an enemy of the casting unit(i.e. your hero)
 
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