- Joined
- Jul 23, 2009
- Messages
- 1,033
I have a spell in my map that runs a trigger when cast on a unit.
The even weirder thing is the problem only occurs if I haven't dealt any damage to this kind of units before I cast the spell. So without the 'Wait 0 seconds' it actually worked if I landed an auto attack before casting the spell. I have absolutely no idea how this can be logical in any way.
However I discovered that it works in any way if I have the 'Wait 0 seconds. So does this interfere with MUI?
-
Quick Strike Counter Refresh
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to (==) Quick Strike
-
Actions
- Set QuickStrike_CD[(Player number of (Owner of (Triggering unit)))] = 10.00
- Set QuickStrike_ComboReal[(Player number of (Owner of (Triggering unit)))] = 0.00
- Set Combat_Spell = True
- Wait 0.00 seconds
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Stats_AD[(Player number of (Owner of (Triggering unit)))] x 1.75) damage of attack type Spells and damage type Normal
- Set Combat_Spell = False
- Sound - Play MetalHeavySliceFlesh3 <gen> at 100.00% volume, attached to (Target unit of ability being cast)
-
Events
The even weirder thing is the problem only occurs if I haven't dealt any damage to this kind of units before I cast the spell. So without the 'Wait 0 seconds' it actually worked if I landed an auto attack before casting the spell. I have absolutely no idea how this can be logical in any way.
However I discovered that it works in any way if I have the 'Wait 0 seconds. So does this interfere with MUI?