Hey there fellow hivers,
I've made a very basic spell based on the mountain king's Stormbolt ability.
The hero throws an object at an enemy, stunning it and dealing damage....
The damage is custom triggered, so that it can be manipulated and is influenced by stats.
To have the damage happen once the missile actually hits the target, I used the following trigger:
In a different trigger I add units to the event list - "add to trigger x, event '(picked unit) takes damage)".
The ability being used is set to do 1 damage in the ability editor.
The problem is however, that the trigger runs twice (sometimes even thrice!)
And I haven't the foggiest as to why it would do that.
I have checked all these triggers and i'm 99.99% sure it's not my triggers doing anything wrong.
At this point I'm wondering if the 'stun' buff itself counts as damage being dealt (albeit 0 damage).
Any people who know what's going on?
I've made a very basic spell based on the mountain king's Stormbolt ability.
The hero throws an object at an enemy, stunning it and dealing damage....
The damage is custom triggered, so that it can be manipulated and is influenced by stats.
To have the damage happen once the missile actually hits the target, I used the following trigger:
-
Kunoichi Hidden Weapon
-
Events
-
Conditions
-
(Unit-type of (Damage source)) Equal to Kunoichi
-
(Damage taken) Less than or equal to 1.00
-
-
Actions
-
Game - Display to (All players) the text: triggered
-
Game - Display to (All players) the text: (actual damage done + (String((Damage taken))))
-
Set Real_Temp = (150.00 + ((Real((Agility of (Damage source) (Include bonuses)))) x (1.50 + (0.05 x (Real((Level of Hidden Weapon [Kunoichi] for (Damage source))))))))
-
Unit - Cause (Damage source) to damage (Triggering unit), dealing Real_Temp damage of attack type Hero and damage type Normal
-
-
-
In a different trigger I add units to the event list - "add to trigger x, event '(picked unit) takes damage)".
The ability being used is set to do 1 damage in the ability editor.
The problem is however, that the trigger runs twice (sometimes even thrice!)
And I haven't the foggiest as to why it would do that.
I have checked all these triggers and i'm 99.99% sure it's not my triggers doing anything wrong.
At this point I'm wondering if the 'stun' buff itself counts as damage being dealt (albeit 0 damage).
Any people who know what's going on?