• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Mirror attack

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
the blademaster create 1 illusion and the illusion begin cast bladestorm 400 dmg
Contents

Csak egy újabb Warcraft III pálya (Map)

Reviews
16:41, 22nd Nov 2013 Maker: Post your spell in Triggers & Scripts to get help on improving your spell. Currently it needs a lot of improvements

Moderator

M

Moderator

16:41, 22nd Nov 2013
Maker: Post your spell in Triggers & Scripts to get help
on improving your spell. Currently it needs a lot of improvements
 
No offense, but worst custom spell I've ever seen.. and only works for player 1

You really should look at some other approved spells what they look like in triggering.

You also should read this thread How to get your GUI spell approved

But I still wish good luck with improving it.


  • ability
    • Events
      • Unit - A unit Startet the effect of an ability
    • Conditions
      • (Ability being cast) Equals mirror attack
    • Actions
      • Unit - Create 1 Blademaster for Player 1 at (Target point of ability being cast) facing 270 degrees
      • Animation - Play (Last created unit)'s attack 1 animation
      • Spezialeffekt - Create a special effect attached to the chest of (Casting unit) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
      • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
      • Wait 4.00 seconds
      • Einheit - Remove (Last created unit) from the game

Thats the trigger, that not all would have to download the map
 
Level 20
Joined
Aug 13, 2013
Messages
1,696
Holy..,

Thanks from IcemanBo for showing the triggers ^^ +Rep.

Small Review:

  • Unit - Create 1 Blademaster for Player 1 at (Target point of ability being cast) facing 270 degrees
->

  • Unit - Create 1 Blademaster for TriggeringPlayer () at (Target point of ability being cast) facing default degrees
= Use triggering player.
= The unit-type can be configurable.
= cache the target point and remove it.


  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Unleash the power.mdx
  • Spezialeffekt - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\Orcblood\OrcBloodHellScream.mdl

= Store the target unit of ability being cast into the variable or cache it.
= You could use looping in this creating special effects. ( Faster and easier ).
= The special effect can be configurable and the attachment point.
= Destroy the special effect ( WTF ), I'd see that you're spamming special effect in here.

  • Animation - Play (Last created unit)'s attack 1 animation
= The animation ( "attack, move, stand" ) can be configurable.
= Cache the last created unit to the variable ( I'd see that you use it twice ).

  • Wait 4.00 seconds
= Remove this line because it is not needed: why? there's a generic expiration timer then use that and waits are inaccurate and should not be use because it breaks the MUi-ness of the spell if it is casted two times at the same time.



  • (Ability being cast) Equals mirror attack
= The ability type can be configurable so the user may not harm the main code or it is able to change safety in the configuration trigger.


* I don't see in the trigger code that the dummy will cast a bladestorm XD.
* Improving trigger performance will help you and what people's gave link to you is important to read ^^.
Note that this is a trigger code and small review.
 
Top