I read the tutorial for these and I am slightly confused on how to use it in my map. My map has different skills that all have a percentage of success when used on the units in my city.
Here is my trigger so far for the first skill:
----
Event
Unit - A unit is attacked
Condition
(Random integer number between 1 and 100) Less than or equal to ((Level of Skill for (Attacking Unit))x 30)
Action
Player - Add 50 to (Owner of (Triggering Unit)) Current Gold
----
My question is, how do I set the exact spell for the event so I am able to use different spells rather than just one skill's percentage.
Here is my trigger so far for the first skill:
----
Event
Unit - A unit is attacked
Condition
(Random integer number between 1 and 100) Less than or equal to ((Level of Skill for (Attacking Unit))x 30)
Action
Player - Add 50 to (Owner of (Triggering Unit)) Current Gold
----
My question is, how do I set the exact spell for the event so I am able to use different spells rather than just one skill's percentage.