Hi i'm new in triggering and i was trying to make my own spell.
when i cast spell target get's damage but the dummy unit (pit lord) doesn't show
can anyone temm me what's wrong with it?
here's my trigger: (sry it's german)
when i cast spell target get's damage but the dummy unit (pit lord) doesn't show
can anyone temm me what's wrong with it?
here's my trigger: (sry it's german)
-
Test
-
Ereignisse
- Einheit - A unit Startet den Effekt einer Fähigkeit
-
Bedingungen
- (Ability being cast) Gleich test
-
Aktionen
- Set test_Caster = (Triggering unit)
- Set test_Target = (Target unit of ability being cast)
- Set test_Location = (Position of test_Target)
- Set test_Location2 = (Random point in (Region centered at test_Location with size (70.00, 70.00)))
- Set test_Owner = (Owner of test_Caster)
- Set test_Level = (Level of (Ability being cast) for test_Caster)
- Set test_Damage = 50.00
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Pause Caster --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Einheit - Pause ein test_Caster
- Einheit - Make test_Caster Unverwundbar
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Einheit - Create 1 test Dummy for test_Owner at test_Location2 facing test_Location
- Einheit - Add test (Stun) to (Last created unit)
- Einheit - Set level of test (Stun) for (Last created unit) to test_Level
- Einheit - Add test (Inferno) to (Last created unit)
- Einheit - Set level of test (Inferno) for (Last created unit) to test_Level
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Pause Target --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Einheit - Pause ein test_Target
- Einheit - Set test_Target movement speed to 0.00
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Einheit - Make test_Caster face test_Target over 0.00 seconds
- Einheit - Order (Last created unit) to Orc-Tauren-Häuptling - 'Kriegsdonner'
- Animation - Play (Last created unit)'s attack slam - 1 animation
- Einheit - Cause (Last created unit) to damage circular area after 1.00 seconds of radius 300.00 at test_Location, dealing test_Damage damage of attack type Normal and damage type Normal
- Animation - Play (Last created unit)'s attack slam - 2 animation
- Einheit - Cause (Last created unit) to damage circular area after 1.00 seconds of radius 300.00 at test_Location, dealing test_Damage damage of attack type Normal and damage type Normal
- Animation - Play (Last created unit)'s attack animation
- Animation - Play (Last created unit)'s attack slam - 1 animation
- Einheit - Cause (Last created unit) to damage circular area after 0.00 seconds of radius 500.00 at test_Location, dealing test_Damage damage of attack type Normal and damage type Normal
- Animation - Play (Last created unit)'s attack slam - 2 animation
- Einheit - Cause (Last created unit) to damage circular area after 0.00 seconds of radius 500.00 at test_Location, dealing test_Damage damage of attack type Normal and damage type Normal
- Einheit - Order (Last created unit) to Orc-Tauren-Häuptling - 'Kriegsdonner'
- Einheit - Order (Last created unit) to Untoten-Schreckenslord - 'Inferno' test_Location
- Animation - Play (Last created unit)'s death animation
- Animation - Play (Last created unit)'s dissipate animation
- Einheit - Remove (Last created unit) from the game
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Reset Caster & Target --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Einheit - Pause aus test_Caster
- Einheit - Make test_Caster Verwundbar
- Einheit - Pause aus test_Target
- Einheit - Set test_Target movement speed to (Default movement speed of test_Target)
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Clearing leaks --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Custom script: call RemoveLocation(udg_test_Location)
- Custom script: call RemoveLocation(udg_test_Location2)
-
Ereignisse