First: sorry if there already is a thread about this, but i don'T know excatly what i need to look for 
my problem is that i want to give a hero a chance on attack to spawn a unit but this can be exploited by spamming 'S'.
any workarrounds?
trigger (caution very simple):
my problem is that i want to give a hero a chance on attack to spawn a unit but this can be exploited by spamming 'S'.
any workarrounds?
trigger (caution very simple):
-
Summon
-

Ereignisse
-


Einheit - A unit Wird angegriffen
-


Bedingungen
-



(Unit-type of (Attacking unit)) Gleich King of the Dead
-
-


Aktionen
-



Set MinionDK = (Random integer number between 1 and 100)
-



If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-




'IF'-Bedingungen
-





MinionDK Kleiner gleich ((Level of King of the Dead [W] for (Attacking unit)) x 3)
-
-




'THEN'-Aktionen
-





Einheit - Create 1 Skeleton Minion summon for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Position of (Attacked unit))
-
-




'ELSE'-Aktionen
-
-
-
-