Sorry for asking again
i have some problem with my trigger spell again
1. here the first trigger [SOLVED]
this triggers is supposed to damage and slow enemy unit near the caster while the caster channeling, but i want to make the skill affect the enemy near his illusions after he uses a mirror image ability and then use the channeling skill, the special effect should be appear at the illusion's position
how to do that?
3. the third
this is a trigger to create special effect and slow the enemy unit nearby the caster upon cast the skill base is Metamorphosis, and yes the caster is transformed, but the trigger is still occurred when the caster transformed back, why?
4. the fourth [SOLVED]
this is a skill that look like Axe's Counter Helix in DotA but, the Special effect doesn't appear
5. the last [IMPOSSIBLE]
can i give an illusion a passive ability with trigger?
sorry if i asking too much but i hope you can solve it, thanks
i have some problem with my trigger spell again
1. here the first trigger [SOLVED]
-
Mass Hypnosis
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Mass Hypnosis
-
Actions
- Set MassHypnosis_point = (Position of (Triggering unit))
- Set MassHypnosis_target = (Units within (260.00 + (40.00 x (Real((Level of Mass Hypnosis for (Triggering unit)))))) of MassHypnosis_point matching (((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Dead) Equal to False)) and (((Owner of (Matching unit)) is a
-
Unit Group - Pick every unit in MassHypnosis_target and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing (270.0) degrees
- Unit - Add Mass Hypnosis to (Last created unit)
- Unit - Set level of Mass Hypnosis for (Last created unit) to (Level of Mass Hypnosis for (Triggering unit))
- Unit - Order (Last created unit) to Undead Banshee - Curse (Picked unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Unit-type of (Triggering unit)) Equal to Aizen Sosuke (Hogyoku 1)) or ((Unit-type of (Triggering unit)) Equal to Aizen Sosuke (Hogyoku 2))
-
Then - Actions
-
Unit Group - Pick every unit in MassHypnosis_target and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing (270.0) degrees
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Hero - Create Hogyoku Illusion2 and give it to (Last created unit)
- Hero - Order (Last created unit) to use (Last created item) on (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in MassHypnosis_target and do (Actions)
- Else - Actions
-
If - Conditions
- Custom script: call DestroyGroup(udg_MassHypnosis_target)
- Custom script: call RemoveLocation(udg_MassHypnosis_point)
-
Events
- [/HIDDEN]
- some time the given item is appear i don't know what happened
- 2. the second, [HIDDEN=2]
-
[TRIGGER]Howling
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Guard Skill : Howling
-
Actions
- Set Howlcast = (Triggering unit)
- Animation - Play Howlcast's spell animation
- Unit - Create 1 Howling Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
- Unit - Turn collision for (Last created unit) Off
- Unit - Move (Last created unit) instantly to (Position of (Triggering unit))
- Set HowlSE = (Last created unit)
- Trigger - Turn on Howling effect <gen>
- Trigger - Turn off Hand Sonic <gen>
-
Events
-
Howling effect
-
Events
- Time - Every 0.25 seconds of game time
- Conditions
-
Actions
- Unit - Create 1 Dummy Unit for (Owner of Howlcast) at (Position of Howlcast) facing Default building facing (270.0) degrees
- Unit - Add Howling slow to (Last created unit)
- Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit Group - Pick every unit in (Units within 400.00 of (Position of Howlcast) matching (((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False)) and (((Matching unit) belongs to an enemy of (Owner of Howlcast)) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit Group - Add (Picked unit) to Howltarget
-
Loop - Actions
-
Unit Group - Pick every unit in Howltarget and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Level of Guard Skill : Howling for Howlcast) Not equal to 0
- (Level of Guard Skill : Howling for Howlcast) Less than 5
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Guard Skill : Howling for Howlcast) Less than or equal to 2
-
Then - Actions
- Unit - Cause Howlcast to damage (Picked unit), dealing ((Real((Agility of Howlcast (Include bonuses)))) / 5.00) damage of attack type Spells and damage type Normal
- Unit Group - Remove (Picked unit) from Howltarget
-
Else - Actions
- Unit - Cause Howlcast to damage (Picked unit), dealing ((Real((Agility of Howlcast (Include bonuses)))) / 4.00) damage of attack type Spells and damage type Normal
- Unit Group - Remove (Picked unit) from Howltarget
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Unit - Cause Howlcast to damage (Picked unit), dealing ((Real((Agility of Howlcast (Include bonuses)))) / 3.00) damage of attack type Spells and damage type Normal
- Unit Group - Remove (Picked unit) from Howltarget
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events
-
Howling Stop
-
Events
- Unit - A unit Stops casting an ability
-
Conditions
- (Ability being cast) Equal to Guard Skill : Howling
-
Actions
- Trigger - Turn off Howling effect <gen>
- Unit Group - Pick every unit in Howltarget and do (Unit Group - Remove (Picked unit) from Howltarget)
- Unit - Remove HowlSE from the game
- Trigger - Turn on Hand Sonic <gen>
-
Events
how to do that?
3. the third
-
Implant
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Implant Hogyoku
-
Actions
- Trigger - Turn off (This trigger)
- Set Implant_Point = (Position of (Triggering unit))
- Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Implant_Point facing Default building facing (270.0) degrees
- Unit - Add Henshin! to (Last created unit)
- Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
- Set Implant_Effect = (Last created special effect)
- Set Implant_Target = (Units within 300.00 of Implant_Point matching (((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False)) and ((((Matching unit) is Dead) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (
- Unit Group - Pick every unit in Implant_Target and do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by -100.00 towards (Distance between (Position of (Triggering unit)) and (Position of (Picked unit))) degrees))
- Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
- Set Implant_Effect2 = (Last created special effect)
- Special Effect - Destroy Implant_Effect
- Special Effect - Destroy Implant_Effect2
- Wait until ((((Triggering unit) has buff Implanted Hogyoku 2nd phase ) Equal to False) or (((Triggering unit) has buff Implanted Hogyoku 3rd phase ) Equal to False)), checking every 0.10 seconds
- Trigger - Turn on (This trigger)
- Custom script: call DestroyGroup(udg_Implant_Target)
- Custom script: call RemoveLocation(udg_Implant_Point)
-
Events
4. the fourth [SOLVED]
-
Hand Sonic
-
Events
- Unit - A unit Is attacked
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Attacked unit) has buff Hand Sonic ) Equal to True
- (Random integer number between 1 and 100) Less than or equal to 20
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Set HandSonic_point = (Position of (Triggering unit))
- Set HandSonic_target = (Units within 300.00 of HandSonic_point matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Triggering unit) is A structure) Equal to False)))
- Animation - Play (Attacked unit)'s spell slam animation
-
Unit Group - Pick every unit in HandSonic_target and do (Actions)
-
Loop - Actions
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Unit Group - Pick every unit in HandSonic_target and do (Unit - Cause (Attacked unit) to damage (Picked unit), dealing ((5.00 x (Real((Level of (Triggering unit))))) + (1.00 x (Real((Agility of (Triggering unit) (Include bonuses)))))) damage of attack type Spells and damage type Normal)
- Custom script: call DestroyGroup(udg_HandSonic_target)
- Custom script: call RemoveLocation(udg_HandSonic_point)
-
Events
this is a skill that look like Axe's Counter Helix in DotA but, the Special effect doesn't appear
5. the last [IMPOSSIBLE]
can i give an illusion a passive ability with trigger?
sorry if i asking too much but i hope you can solve it, thanks
Last edited: