I'm having a bloody weird problem with a trigger firing twice in a row. It's a little nothing trigger too, it shouldn't have any trouble. It waits about 1 real time second, then it fires the trigger again. It's the only one I'm having this problem on.
Code is below, explaination follows.
Ability: Tinker_Lv1_Test_Positive
This is a dummy ability based off of Inner Fire. It in and of itself does nothing, it only server to spring the trigger.
Duration: 0
Targets Allowed: Friend, Mechanical, Structure (These match the unit it's to be used on)
Ability: Tinker_Lv1_DamagePos_Test
This is the real ability I'm trying to manipulate. Based off of Trueshot Aura, it increases the unit's damage by a % amount. This ability sits inside a Spell Book.
Targets: Self
Levels: 11 (Level 1 = 0)
So, when I have a unit use the triggering ability, it applies the effect, waits a sec, then applies it again. It's only supposed to apply it once.
I also have a negative version with its own trigger, that dummy ability is based off of Slow. This also fires twice, with the target ability residing in the same spellbook.
There's nothing in my trigger scheme that repeats a trigger, so I have no bloody idea why the hell it's doing this. My only guesses are that it's something to do with the Spell Book or something to do with Trueshot Aura.
Any help would be greatly appreciated. Thanks!
Code is below, explaination follows.
Trigger:
- Events
- Unit - A unit Starts the effect of an ability
- (I've tested this with Starts the effect and Begins casting an ability, both fire wrong.)
- Conditions
- (Ability being cast) Equal to Tinker_Lv1_Test_Positive
- Actions
- Unit - Increase level of Tinker_Lv1_DamagePos_Test for (Target unit of ability being cast)
- Unit - A unit Starts the effect of an ability
Ability: Tinker_Lv1_Test_Positive
This is a dummy ability based off of Inner Fire. It in and of itself does nothing, it only server to spring the trigger.
Duration: 0
Targets Allowed: Friend, Mechanical, Structure (These match the unit it's to be used on)
Ability: Tinker_Lv1_DamagePos_Test
This is the real ability I'm trying to manipulate. Based off of Trueshot Aura, it increases the unit's damage by a % amount. This ability sits inside a Spell Book.
Targets: Self
Levels: 11 (Level 1 = 0)
So, when I have a unit use the triggering ability, it applies the effect, waits a sec, then applies it again. It's only supposed to apply it once.
I also have a negative version with its own trigger, that dummy ability is based off of Slow. This also fires twice, with the target ability residing in the same spellbook.
There's nothing in my trigger scheme that repeats a trigger, so I have no bloody idea why the hell it's doing this. My only guesses are that it's something to do with the Spell Book or something to do with Trueshot Aura.
Any help would be greatly appreciated. Thanks!