Rangery

From CLUMP
Revision as of 15:02, 31 March 2014 by Mwadmin (talk | contribs) (Basci Ranger Macro)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
//Rangery by Noivad
f3 call Shieldstone //modify this to your chosen hotkey
shift-f3 call UnShieldstone //modify this to your chosen hotkey
f4 call Heartwood //modify this to your chosen hotkey
f6 call reflection //modify this to your chosen hotkey
"/judge" call judge
"/reflect" call reflection
//"shso" toggle the shieldstone state (on or off)
set shso 0
Shieldstone
{
if shso == 1
	goto OFF
end if
if @my.finger_item == "Shieldstone"
	goto ON
end if
label equip
"/equip shieldstone\r"
label ON
"/useitem finger\r"
pause 1
label CHECK
if @env.textLog >= "Your Shieldstone goes inert"
	goto equip
end if
label TIMER
pause 2
setglobal shso 1
pause 10
setglobal shso 0
goto END
label OFF
"/useitem finger /cancel\r"
setglobal shso 0
label END
}
UnShieldstone "/unequip finger\r"
Heartwood
{
if @my.left_item != "Heartwood Charm"
	"/equip heartwood\r"
end if
"/useitem left\r"
}
judge
{
"/useitem belt /judge " @text "\r"
}
reflection
{
"/useitem belt /reflect\r"
}