Metamorphosis + Illusions help!

shawtybaby

New Member
Reaction score
3
I have a hero with Metamorphosis, and an item that has the ability to Mirror Image.

When the hero uses Metamorphosis and then uses the item, the hero returns back to its normal form with 2 other illusions in normal form.

How to fix this? I want the hero to still be in its Metamorphosis-form when it has used the Mirror Image item.
 

Trithilon-V2

New Member
Reaction score
20
Unfortunately...that not possible...
You can trigger it although.....

-Event - Unit Casts an Ability

-Conditions - Ability Being Cast = Mirror Image // Base Mirror Image out of a No Target Channel spell.

-Actions
Custom Script: local effect e
If
(Unit Has a Buff (Metamorphosis) = True)
Then
Unit - Hide Triggering Unit
Special Effects - Create Special Effect (Mirror Image)
Custom Script: set e = bj_LastCreatedEffect()
Wait 0.4 Seconds
Custom Script: call DestroyEffect(e)
Unit - Unhide (Triggering Unit)
For Each Integer 1 to (Level of Ability) Do Actions
Unit - Create (1) Dummy Unit
Hero - Create (Wand of Illusions) and Give it to (Last Created Unit)
Unit - Order (Last Created Unit) to use (Last Created Item) on (Triggering Unit)
Unit - Add a Generic 3.0 Second Expiration Timer to (Last Created Unit)
 

shawtybaby

New Member
Reaction score
3
I don't get this part

''For Each Integer 1 to (Level of Ability) Do Actions
Unit - Create (1) Dummy Unit
Hero - Create (Wand of Illusions) and Give it to (Last Created Unit)
Unit - Order (Last Created Unit) to use (Last Created Item) on (Triggering Unit)
Unit - Add a Generic 3.0 Second Expiration Timer to (Last Created Unit) ''

I can't find the line Order (Last Created Unit) to use (Last Created Item) on (Triggering Unit).
the ...use (Last Created Item) doesn't exist in the editor.
And btw, did you just write the trigger with keyboard? lol
 

Trithilon-V2

New Member
Reaction score
20
Oh...just use the search function....and type "use item" without quote in the searchboc..you will get it.
Also the (Last Created Item) exists....it might look a little unfamiliar to you but it exists.

Offtopic: I am on a cell phone..sry for inconvieniece.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top