Tar-Quaeron
New Member
- Reaction score
- 0
Hello,
I want to make a spell which acts exactly like flame strike (dmg, AoE cast, etc) but where the casting unit throws a fireball (projectile like troll priest, archmage, etc) at the target point before the art, effects of flame strike start. Here is the trigger I tried but it doesn't work, I do not know why. I hope you will be able to understand the badly translated French. I use map editor in French.
Both the attacked and attacking dummy are non-locust.
I want to make a spell which acts exactly like flame strike (dmg, AoE cast, etc) but where the casting unit throws a fireball (projectile like troll priest, archmage, etc) at the target point before the art, effects of flame strike start. Here is the trigger I tried but it doesn't work, I do not know why. I hope you will be able to understand the badly translated French. I use map editor in French.
Trigger:
- Déclencheur sans titre 001
- Evénements
- Unité - A unit Initie l'effet d'une compétence
- Conditions
- (Ability being cast) Egal Ã_ Boule de feu (dummy)
- Actions
- Unité - Create 1 Dummy (ground, non-fantôme) for Joueur 1 (Rouge) at (Target point of ability being cast) facing 0.00 degrees
- Groupe unité - Add (Last created unit) to dummybouledeuattacked
- Unité - Add a 1.50 second Générique expiration timer to (Last created unit)
- Unité - Create 1 attack Boule de feu dummy for Joueur 1 (Rouge) at (Position of (Triggering unit)) facing (Target point of ability being cast)
- Unité - Add a 1.50 second Générique expiration timer to (Last created unit)
- Groupe unité - Pick every unit in dummybouledeuattacked and do (Unité - Order (Last created unit) to Attaque une fois (Picked unit))
- Unité - Add Boule de feu (dégats) to (Last created unit)
- Unité - Set level of Boule de feu (dégats) for (Last created unit) to (Level of Boule de feu (dégats) for (Triggering unit))
- Unité - Order (Last created unit) to Mage de sang humain - Choc de flammes (Target point of ability being cast)
- Custom script: call DestroyGroup(udg_dummybouledeuattacked)
- Evénements
Both the attacked and attacking dummy are non-locust.