Hey. How do you make such a ability.For example , lets say i create a War Stomp spell for a unit.How do i make it autocast.For example , when he is attacked or has enemyes arround him he will cast it.
event a unit attacked/GDD
condition attacked unit equal to your unit AND attacking unit equal to enemy of attacked unit is true
action order your unit to warstomp(unit action, order unit with no target)
Event
A unit is attacked
Condition
(Level of (war stomp)) for attacking unit greater than 0
Action
Set AC_Caster = attacking unit
Set AC_Owner = Owner of AC_Caster
Set AC_Caster_location = location of attacking unit
Set AC_Level = (Level of (war stomp)) for AC_Caster
Set AC_Chance = 4 * (real(AC_Level))
Set AC_Skill = War Stomp
--------------------------------------------------------------------------
If all condition true do then other else
Condition
(Random real number between (1 and 100)) greater than or equal to AC_Chance
Then
Create 1 dummy for AC_Owner at AC_Caster_Location facing default building degrees
Add AC_Skill to last created unit
Set level of AC_Skill of last created unit to AC_Level
Order Last created unit to chieftain - war stomp
Add generic time 3 second to last created unit
Else
--------------------------------------------------------------------------
call RemoveLocation (udg_AC_Caster_Location)
I'm sorry I ol at my cell phone rite now so I can't use trigger.. And I'm just trying to help.. I think my trigger will work.. But if I make false sry I'm still a newbie mapperz.. --"
Reddit, Slack, Google, Facebook, Instagram — these companies use our data — directly or indirectly — to train the next generation of AI language models. Yet, I don’t remember anyone asking our permission, and in doing so, these companies have proven the adage that customers’ data is their main...
Our new website went up early yesterday. Health Empowers You. 200 smoothie recipe guide and soon we will have detox, cognitive enhancement, weightloss teas and some coffee blends. https://healthempowersyou.net/products/smoothie-recipe-guide
It never fails that as soon as I say something about the bots they come back - this time they are under a whole new IP range - one thing in common though, Chinese!