Rangery: Difference between revisions

From CLUMP
Jump to navigationJump to search
m (added study)
(My current ranger Macros)
Line 2: Line 2:
  f3 call Shieldstone //modify this to your chosen hotkey
  f3 call Shieldstone //modify this to your chosen hotkey
  shift-f3 call UnShieldstone //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
  f4 call Heartwood //modify this to your chosen hotkey
  f6 call reflection //modify this to your chosen hotkey
  f6 call reflection //modify this to your chosen hotkey
  "/judge" call judge
   
"/reflect" call reflection
"/study" call study
//"shso" toggle the shieldstone state (on or off)
  set shso 0
  set shso 0
  Shieldstone
  Shieldstone
  {
  {
Line 14: Line 14:
  goto OFF
  goto OFF
  end if
  end if
  if @my.finger_item == "Shieldstone"
  if @my.finger_item == "Shieldstone"
  goto ON
  goto ON
  end if
  end if
  label equip
  label equip
  "/equip shieldstone\r"
  "/equip shieldstone\r"
  label ON
  label ON
  "/useitem finger\r"
  "/useitem finger\r"
  pause 1
  pause 1
  label CHECK
  label CHECK
  if @env.textLog >= "Your Shieldstone goes inert"
  if @env.textLog >= "Your Shieldstone goes inert"
  goto equip
  goto equip
  end if
  end if
  label TIMER
  label TIMER
  pause 2
  pause 1
  setglobal shso 1
  setglobal shso 1
pause 10
setglobal shso 0
  goto END
  goto END
  label OFF
  label OFF
  "/useitem finger /cancel\r"
  "/useitem finger /cancel\r"
Line 37: Line 41:
  label END
  label END
  }
  }
  UnShieldstone "/unequip finger\r"
  UnShieldstone
{
"/unequip finger\r"
setglobal shso 0
}
  Heartwood
  Heartwood
  {
  {
Line 45: Line 55:
  "/useitem left\r"
  "/useitem left\r"
  }
  }
"/judge" call judge
  judge
  judge
  {
  {
  "/useitem belt /judge " @text "\r"
  "/useitem belt /judge " @text "\r"
  }
  }
"/reflect" call reflection
  reflection
  reflection
  {
  {
  "/useitem belt /reflect\r"
  "/useitem belt /reflect\r"
  }
  }
  study
   
"/be"
{
"/usei belt /befriend\r"
"/pose bless\r"
}
"/con"
{
"/usei belt /control\r"
"/pose sal\r"
}
"/dis"
{
"dismissing\r"
"/pose surprised\r"
pause 3
"/usei belt /dismiss\r"
}
"/unm" call unmorph
unmorph
  {
  {
  "/use /study\r"
"/useitem /belt /return\r"
  }
  }

Revision as of 11:44, 17 December 2014

//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

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 1
setglobal shso 1
goto END

label OFF
"/useitem finger /cancel\r"
setglobal shso 0
label END
}

UnShieldstone
{
"/unequip finger\r"
setglobal shso 0
}

Heartwood
{
if @my.left_item != "Heartwood Charm"
	"/equip heartwood\r"
end if
"/useitem left\r"
}

"/judge" call judge

judge
{
"/useitem belt /judge " @text "\r"
}

"/reflect" call reflection

reflection
{
"/useitem belt /reflect\r"
}

"/be"
{
"/usei belt /befriend\r"
"/pose bless\r"
}

"/con"
{
"/usei belt /control\r"
"/pose sal\r"
}

"/dis"
{
"dismissing\r"
"/pose surprised\r"
pause 3
"/usei belt /dismiss\r"
}

"/unm" call unmorph

unmorph
{
	"/useitem /belt /return\r"
}