ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Dan123The123Man on February 01, 2016, 05:32:50 PM
-
I was wanting to merge the two of these into one
Greater heal last target over and over:
if #MANA > 40
{
event macro 15 28
wait 45
event macro 22 0
wait 40
}
return
cast mirror image spell over and over:
if #MANA > 15
{
event macro 15 252
wait 2s
finditem IS G_0
if #findcnt > 0
}
}
}
What I was wondering though is how would I make it into one script that will cast greater heal on last target until last target is 100% health and then once it is then cast mirror images again until followers = 5 ?
-
Recommend you review some casting training scripts. Look for a magery trainer, for example, to see if it casts summons. There should be a follower count.
You can also check the EUO wiki. The documentation is actually quite thorough.
-
What I was wondering though is how would I make it into one script that will cast greater heal on last target until last target is 100% health and then once it is then cast mirror images again until followers = 5 ?
Very easily
Psuedo code would be
repeat
; caste great heal on lasttarget (meditate first if need to)
; get target health
until %TargetHealth = 100
while #Followers < 5
{
; caste mirror image (meditiate first if need to)
}