Mirror Image + Aerial Shackles

Zorve

New Member
Reaction score
0
Hi,

as u may see i want to combine these spells to one.

i would like to make the hero to cast "Aerial Shackles" on a target, and then make 2-3 "Mirror Image" at the same time at the caster.

Thank you
//Zorve
 

Knatten

New Member
Reaction score
7
I guess you just have to detect when hero casts Aerial Shackles and then create a dummy which will cast ''Illusion Wand'' spell on the hero twice.
 

Wesulmoon

New Member
Reaction score
6
i think you can cast normal spell aerial and then give this on...

Melee Initialization
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Aerial Shackles
Actions
Unit - Add Mirror Image6 to (Casting unit)
Unit - Order (Casting unit) to Orc Blademaster - Mirror Image
Unit - Remove Mirror Image6 from (Casting unit)
but you must make spell cost no mana and change other stuff


and maybe add sth
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
Code:
Mirror Shackles
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mirror Shackles
Actions
set Caster = (Triggering Unit)
set Target = (Target Unit of ability being cast)
Unit - Order Caster to Orc Blademaster - Mirror Image
Unit - Order Caster to Human Dragonhawk Rider - Aerial Shackles Target
Custom Script: set udg_Caster = null
Custom Script: set udg_Target = null
The hero would need to have a disabled spellbook with Mirror Image and Aerial Shackles for this to work.
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Mirror Shackles
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mirror Shackles
Actions
[COLOR="Red"]set Caster = (Triggering Unit)
set Target = (Target Unit of ability being cast)[/COLOR]
Unit - Order Caster to Orc Blademaster - Mirror Image
Unit - Order Caster to Human Dragonhawk Rider - Aerial Shackles Target
[COLOR="Red"]Custom Script: set udg_Caster = null
Custom Script: set udg_Target = nul[/COLOR]l
Red lines, not needed. Specially those last ones, awful in other words.
Rather just go with triggering unit, but then again there are a ton of ways of combining those two spells, be a bit more descriptive. Last but not least, doubt a unit can cast Mirror Image and Aerial Schackles within 0.000 seconds, due to mirror image takes a bit time to cast...

I would go for knattens suggestion, create a dummy order it to cast illusion of the hero of yours.

Like this:
Code:
Untitled Trigger 005
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Aerial Shackles 
    Actions
        Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
        Hero - Create Wand of Illusion and give it to (Last created unit)
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Hero - Order (Last created unit) to use (Last created item) on (Triggering unit)
        Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
        Hero - Create Wand of Illusion and give it to (Last created unit)
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        Hero - Order (Last created unit) to use (Last created item) on (Triggering unit)
It leaks...look up a leak tutorial on this site, use the search button.
Edit: as you can see, the four bottom lines are exactly the same as the four upper lines.
 
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