Need a script with easy uo to cast shield of earth and target 2 tiles on front of me or 2 tiles south of me. I tried adding it to my discord attack and claim script on UOS, but cant get it to work at all.
thanks
looking for EasyUO script
-
- Grandmaster Scribe
- Posts: 77
- Joined: Sat Jun 05, 2021 9:18 pm
Re: looking for EasyUO script
IDK how to do that on easyuo, but on UOS, for me, it works that way:
Maybe this can help in some way.
Edit: the third line cast the spell targeting 2 tiles south from you.
Code: Select all
msg "[cs shieldofearth"
waitfortarget 5000
targettileoffset 0 2 0
Edit: the third line cast the spell targeting 2 tiles south from you.
The Skilled
.

-
- Grandmaster Scribe
- Posts: 77
- Joined: Sat Jun 05, 2021 9:18 pm
Re: looking for EasyUO script
How can i add it to this UOS script with a timer to keep the Shield of Earth in place?
//Casts Divine Fury if stam drops under 125
//-----------------------------------------------
if stam < 200
cast 'Divine Fury'
endif
//Finds and Attacks enemies
//-----------------------------------------------
clearjournal
useskill "Discordance"
clearignorelist
while @getenemy 'enemy' 'red' 'murderer' 'gray' 'criminal' 'closest'
target 'enemy'
clearignorelist
pause 500
clearjournal
@getenemy 'criminal' 'red' 'murderer' 'enemy' 'gray' 'closest'!
@attack 'enemy'
//Creates, sets timer for and casts Consecrate Weapon
//-----------------------------------------------
pause 500
if not timerexists 'consecrateweapon'
settimer 'consecrateweapon' 0
endif
if timer 'consecrateweapon' >= 9000
cast "Consecrate Weapon"
pause 500
organizer 'gold horse'
settimer 'consecrateweapon' 0
endif
if mana > 34
setability 'primary' 'on'
endif
pause 250
@cleartargetqueue
if @findtype 0x2006 'any' 'ground' 1 10
msg '[claim'
waitfortarget 1500
@target 'found'
pause 200
@canceltarget
pause 250
endif
replay
//Casts Divine Fury if stam drops under 125
//-----------------------------------------------
if stam < 200
cast 'Divine Fury'
endif
//Finds and Attacks enemies
//-----------------------------------------------
clearjournal
useskill "Discordance"
clearignorelist
while @getenemy 'enemy' 'red' 'murderer' 'gray' 'criminal' 'closest'
target 'enemy'
clearignorelist
pause 500
clearjournal
@getenemy 'criminal' 'red' 'murderer' 'enemy' 'gray' 'closest'!
@attack 'enemy'
//Creates, sets timer for and casts Consecrate Weapon
//-----------------------------------------------
pause 500
if not timerexists 'consecrateweapon'
settimer 'consecrateweapon' 0
endif
if timer 'consecrateweapon' >= 9000
cast "Consecrate Weapon"
pause 500
organizer 'gold horse'
settimer 'consecrateweapon' 0
endif
if mana > 34
setability 'primary' 'on'
endif
pause 250
@cleartargetqueue
if @findtype 0x2006 'any' 'ground' 1 10
msg '[claim'
waitfortarget 1500
@target 'found'
pause 200
@canceltarget
pause 250
endif
replay
Re: looking for EasyUO script
Well you have inside your macro one timer linked to consecrate weapon, you can do the same with shield of earth:
This cast shield of earth every time the timer "shield_of_earth" is equal or superior to 10 seconds. You can add this code before or after your attack and adjust the 10 seconds timer to your needs.
I hope this can help. See you in game.
Code: Select all
@canceltarget
if not timerexists "shield_of_earth"
settimer "shield_of_earth" 0
endif
if timer "shield_of_earth" >= 10000
msg "[cs shieldofearth"
waitfortarget 5000
targettileoffset 0 2 0
settimer "shield_of_earth" 0
endif
I hope this can help. See you in game.
The Skilled
.
