Orb effect

coLLosus

New Member
Reaction score
1
Hi, I'm making a hero for my AoS/Arena like map. The hero is a black dragon and I have a problem with his third spell because I'm a noob world editor :p.

"Blight is famous for his poisonous breath. He spits a neurotoxin from the two acid glands that are located inside his mouth on either side of the tongue. The neurotoxin requires 3 seconds to get into the foe's blood and then it paralyzes the victim."

The Ability is based on Orb of Lightning (new) and the 2nd ability is based on Cripple. Here's what i want: after the hero's attack, wait 3 seconds and stun the target. So far I'm here:
Trigger:
  • Poison Breath
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Poison Breath (Effect)
    • Actions
      • Set Breath_time = 3
      • Set Breath_unit = (Target unit of ability being cast)
      • Set Breath_caster = (Owner of (Casting unit))
      • Set Breath_lvl = (Level of (Ability being cast) for (Casting unit))
      • Trigger - Turn on Poison Breath2 <gen>


Trigger:
  • Poison Breath2
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • (Breath_unit has buff Poison Breath ) Equal to True
    • Actions
      • Set Breath_time = (Breath_time - 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Breath_time Equal to 0
        • Then - Actions
          • Unit - Remove Poison Breath buff from Breath_unit
          • Unit - Create 1 Dummy for Breath_caster at (Position of Breath_unit) facing Default building facing degrees
          • Unit - Add Poison Breath (Damage) to (Last created unit)
          • Unit - Set level of Poison Breath (Damage) for (Last created unit) to Breath_lvl
          • Unit - Order (Last created unit) to Neutral - Firebolt Breath_unit
          • Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
          • Trigger - Turn off (This trigger)
        • Else - Actions


oh btw.. i know it's not Mui but I don't care :D just help me pls.
 

coLLosus

New Member
Reaction score
1
It's not doing anything.. that's the problem the stun isn't done when it should be and i don't see anything wrong with my trigger..
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Ah, it's because spells cast from the Orb of Lightning don't trigger spell cast events. You'll need to consider another approach, such as detecting when damage occurs and checking with a condition whether the damaged unit has your orb's buff.
 

Mahrloc

New Member
Reaction score
5
or you could create another ability like stormbolt, change the skin, remove the stun, etc.

/edit: not stormbolt but another ability which places a buff
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top