Smilis
TH.net Regular
- Reaction score
- 7
Hello everyone
I have two questions... one question about a trigger I made (If it is MUI and leakfree) and one about Thunder Clamp...
Question 1: Thunder Clamp
Is there anyway you can use thunder clamp without the casting time? I have set the castingtime to 0, but it still take some time to "cast" it...
Question 2: Is this trigger leakfree and MUI?
As the question sais, is it free from leaks and is it MUI?
thanks if you can help..
I have two questions... one question about a trigger I made (If it is MUI and leakfree) and one about Thunder Clamp...
Question 1: Thunder Clamp
Is there anyway you can use thunder clamp without the casting time? I have set the castingtime to 0, but it still take some time to "cast" it...
Question 2: Is this trigger leakfree and MUI?
As the question sais, is it free from leaks and is it MUI?
Trigger:
- Thunder Blast
- Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
- (Level of Thunder Blast for GDD_DamageSource) Not equal to 0
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ThunderBlast_Check[(Player number of (Owner of GDD_DamageSource))] Equal to True
- Then - Actions
- Special Effect - Destroy ThunderBlast_Effect[(Player number of (Owner of GDD_DamageSource))]
- Set ThunderBlast_Check[(Player number of (Owner of GDD_DamageSource))] = False
- Unit - Create 1 Shade for (Owner of GDD_DamageSource) at (Position of GDD_DamagedUnit) facing Default building facing degrees
- Unit - Add Thunder Blast damage to (Last created unit)
- Unit - Set level of Thunder Blast damage for (Last created unit) to (Level of Thunder Blast for GDD_DamageSource)
- Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
- Unit - Add a 0.75 second Generic expiration timer to (Last created unit)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ThunderBlast[(Player number of (Owner of GDD_DamageSource))] Greater than or equal to (8 - (Level of Thunder Blast for GDD_DamageSource))
- Then - Actions
- Set ThunderBlast[(Player number of (Owner of GDD_DamageSource))] = 0
- Special Effect - Create a special effect attached to the weapon of GDD_DamageSource using Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
- Set ThunderBlast_Effect[(Player number of (Owner of GDD_DamageSource))] = (Last created special effect)
- Set ThunderBlast_Check[(Player number of (Owner of GDD_DamageSource))] = True
- Game - Display to (All players) the text: (String(ThunderBlast[(Player number of (Owner of GDD_DamageSource))]))
- Else - Actions
- Set ThunderBlast[(Player number of (Owner of GDD_DamageSource))] = (ThunderBlast[(Player number of (Owner of GDD_DamageSource))] + 1)
- Game - Display to (All players) the text: (String(ThunderBlast[(Player number of (Owner of GDD_DamageSource))]))
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
thanks if you can help..