- Joined
- Mar 23, 2008
- Messages
- 942
I'm trying to do the Kawarimi jutsu, I'm doing a thing that after you active it, you have some seconds of "imortality" and if you got attacked while you are "imortal" you switch places with a log.
Some pictures of things:
All the fields not showed in the last image are blank.
Also, I would like to know if this event: "Unit - A unit Is attacked" will work if someone uses a offensive spell at the unit.
-
Kawarimi
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Kawarimi no Jutsu (based in taunt)
-
Actions
- Unit - Add Spell Book (Kawarimi Damage Reduction) to (Casting unit)
- Player - Disable Spell Book (Kawarimi Damage Reduction) for (Owner of (Casting unit))
- Wait (Real((Level of Kawarimi no Jutsu (based in taunt) for (Casting unit)))) seconds
- Unit - Remove Spell Book (Kawarimi Damage Reduction) from (Casting unit)
-
Events
-
Kawarimi is attacked
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Level of Spell Book (Kawarimi Damage Reduction) for (Attacked unit)) Greater than 0
-
Actions
- Set SpellPoint[0] = (Position of (Attacked unit))
- Unit - Remove Spell Book (Kawarimi Damage Reduction) from (Attacked unit)
- Special Effect - Create a special effect at SpellPoint[0] using Objects\Spawnmodels\Other\ToonBoom\ToonBoom.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create 1 Log for Neutral Passive at SpellPoint[0] facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Dummy Caster for Neutral Passive at SpellPoint[0] facing Default building facing degrees
- Unit - Set level of Kawarimi (Wind Walk) for (Last created unit) to (Level of Kawarimi no Jutsu (based in taunt) for (Attacked unit))
- Unit - Order (Last created unit) to Neutral - Firebolt (Attacked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_SpellPoint[0])
-
Events
Some pictures of things:
All the fields not showed in the last image are blank.
Also, I would like to know if this event: "Unit - A unit Is attacked" will work if someone uses a offensive spell at the unit.
Last edited: