• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help Solve Chain Lighting on Item

Status
Not open for further replies.
Level 3
Joined
May 30, 2008
Messages
32
Hi there a post about this already, but it close.. here link http://www.hiveworkshop.com/forums/showthread.php?t=39744&highlight=bounce

From the other post that says to do this. Orb of lightning (New) base ability : Chain lightning Chance % : 100

I did it and it work, but I have one problem you have to click target for it to be effective and I wonder if it possible to make it where you don't have to click target that it just automatic cast chain lighting all by itself.

I add map of my own custom for you to test, and see if u can correct it please.

*note* I'm new on the hive it my first time I post here so please give me tips if i'm doing anything wrong thank you.
 

Attachments

  • Orb of lighting test.w3x
    17.6 KB · Views: 70
Level 12
Joined
Aug 18, 2006
Messages
1,193
try this
  • Orb Work A
  • Events
    • Unit - A unit enters (Playable map area)
  • Condition
    • Choose your conditions to identify what units that can use it
  • Actions
    • Trigger - Add to Orb Work B <gen> the event (Unit - (Entering unit) Acquires a target)
  • Orb Work B
  • Events
  • Conditions
  • Actions
    • Unit - Order (Triggering unit) to Attack (Targeted unit)
hope it helps :p
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Those are very buggy things.
It will acquire a target each time after a stop.
So will a trigger with the event of Acquisition or attack. That means a lightning will fire after each stop(almost). That is called abuse.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
try this
  • Orb Work A
  • Events
    • Unit - A unit enters (Playable map area)
  • Condition
    • Choose your conditions to identify what units that can use it
  • Actions
    • Trigger - Add to Orb Work B <gen> the event (Unit - (Entering unit) Acquires a target)
  • Orb Work B
  • Events
  • Conditions
  • Actions
    • Unit - Order (Triggering unit) to Attack (Targeted unit)
hope it helps :p

This is not an ability ...
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
What ability...
It makes a trigger fire each time the unit acquires a target.
And that can happen each time after you press stop.
So just spam stop and you get a lot of firing of the trigger.
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
Orb of Lightning, which is an ability that procs on an attack WITHOUT the use of a trigger

like bash, or critical strike

the problem is, Orb of Lightning can only proc if the target is ordered to attack, and not it if just simply goes to attack somebody. That is what this trigger fixes
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Dude...
W/e.
As I said two times already.
The trigger(no regards to the ability what so ever) leaks (Full stop)
I explained what the leak is.

About the solution:
Not sure at all but possible solution may be orb of slow.
The reason why i suggest that is that I think it is what is used in Dota for thing like Maelstorm (the same thing) and it procs from auto attack.
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
it does not leak. A leak is when the trigger stores a memory that isnt destroyed

A Point that isnt destroyed is a leak

A Unit Group that isnt destroyed is a leak

and it isnt abusable in any way, since the only thing the trigger does it to order the unit to attack another unit, which would only be abusable if the unit that is attacking is bound to a trigger that fires by an Unit - A unit is Attacked-event

bash, crits, and orbs dont work that way
 
Level 3
Joined
May 30, 2008
Messages
32
Thank to SaberXpert he solve my problem with the bug. I'll give the map if u want to check it out, and if u can make this easier and less complicated let us know thank.
 

Attachments

  • Orb_Of_ChainLightning.w3x
    26.5 KB · Views: 47
Level 12
Joined
Apr 27, 2008
Messages
1,228
Zapper
Instead of using the trigger for removing the dummies just add the line to the first trigger
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
So that it looks like this
  • OrbOfLightningItem
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Orb of Lightning ) Equal to True
    • Actions
      • Unit - Create 1 Dummy Caster (Chain Light) for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Attacked unit)
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
But the event a unit is attacked is a bit buggy as it fires before the actual attack. Now the lightning is casted before the projectile reaches the target.
Before it even is fired, before the attack occurred. Just when the attack is initiated. Thus by spamming "Stop" Multiple lightnings are casted on a single attack(to avoid the attack completely you will have to spam stop very very fast).
Best solution I can think of is to use the attack detection engine: here
 
Last edited:
Status
Not open for further replies.
Top