Trigger Enhancing Spells(Need help please)

Status
Not open for further replies.

TJftw

T

TJftw

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.
 
Ok thanks a lot, that makes sense, and is there a way to make it only work on specific units? Instead of any unit that I can cast the spell on.


Edit: Nm i think I got it. I would do the same thing only unit = peasant.
 
Status
Not open for further replies.
Back
Top