Abilitly Help

Venv

Active Member
Reaction score
1
So what iam trying to do is figure out a way to use a skill to make it so when i attack a unit that i get a spefic amount of chance to make a clone of my self anyone kno how to do this?? but i got a spefic unit thing i want to make it out of like for each time i attack this unit and i get likea 10%chance of making a unit that will fight for me and he has that same ability to fight and clone also if anyone can help it would be thank full

Got my gold working :D
Multiarrow Working :D
everything else workign xept some stuff like leader bored xD
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Base the ability off Briliance Aura

Code:
Events
 A unit is attacked
Conditions
 ((Attacking unit) has CloneBuff) Equal to True
 (Random Integer Number from 1 to 100 less than or equal to 10)
Actions
 Create 1 dummyunit for (Owner of (Attacking unit))
 Now, i am not sure how, you will add to that unit Wand of Illusion item and order it to use it on the (Attacking unit).

Edit: Oh, there is a trigger for a unit to use that item, but that unit must be a hero and then from Actions - Hero - Order (Last Created unit) to use (Item carried by (Last Created unit) of type Wand of Illusion)) on (Attacking unit)). Just make the dummy unit to be hero and create it for Neutral Passive instead, so that you do not get its icon on your Score Screen.
 

HalosNTariff

New Member
Reaction score
13
I have one method but it's probably not very efficient:

(freehand)
Event-Unit is attacked
Condition-Triggering Unit (or attacked unit) has the ability [your ability]
Action-Set Variable: [CloneNo]=random integer from 1-10
-If, then, else
If CloneNo equal to 1 equal to true
Then create one [your unit] at position of triggering unit (or attacked unit)
Else-If, then, else
If CloneNo equal to 1 equal to false
Then Do Nothing

Variables: CloneNo is an integer variable.

This should work but you amy need another variable to save the position of the defending unit.

NB: the second 'If, Then, Else' action goes in the 'else' actions of the first one.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Wait, by "clone" you mean illusion, like DotA's Phantom Lancer or a real hero? If the second, forget my trigger and create one (Unit type of (Attacking unit)) at (Position of (Attacking unit) offset by 150.00 towards 50 degrees). Remember: this is a real hero, not an illusion.
 

Venv

Active Member
Reaction score
1
its kinda like avatar arena wher theres taht panda and he has the cloning abilites and then he can attack and when he dose he makes another unit of him self hten so on :O
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Then do what i said above your post or if it comes for a specific unit (the panda u said), do what HalosNTariff said.
 
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