Blood Mage Macros

From CLUMP
Jump to navigationJump to search

Manjushri Blood Mage Macros

Macro Contributed by Shaky originally from Zelkhorn

f1 "/use /hamstring \r"
f2 "/use /disable \r"
f3 "/use /hemo \r"
f5 "/use /inferno \r"
f4 
{
   if @my.right_item != "bloodblade"
   "/equip bloodblade" "\r"
   end if

   "/use /hemo" "\r"
   "/use /hamstring" "\r"
}
f6 
{
   if @my.right_item != "bloodblade"
   "/equip bloodblade" "\r"
   end if

   "/use /hemo" "\r"
   "/use /hamstring" "\r"
  "/use /disable" "\r"
}
f8 "/useitem bloodstone /set \r"
f9 "/useitem bloodstone /clear \r"
f10 "/useitem bloodblade /reflect \r"
f11 "/use /control \r"
f12 "/use /absorb \r"
f13 "/use /absorb /report \r"
 
//    Shieldstone 
shield
{
if @my.finger_item == "Shieldstone"
 "/equip bloodstonering\r"
else
 "/equip shieldstone\r"
 "/useitem finger\r"
end if
}

Tab call shield
shift-tab "/useitem shieldstone /cancel\r"

Silphene’s Bloodstone Ring Macros

"/bbs"
{
if @my.finger_item != "Bloodstone Ring"
    "/equip Bloodstone Ring\r"
end if
"/usei bloodstone /set\r"
}

"/bba"
{
if @my.finger_item != "Bloodstone Ring"
    "/equip Bloodstone Ring\r"
end if
}

"/bbr"
{
if @my.finger_item == "Bloodstone Ring"
    "/unequip Bloodstone Ring\r"
end if
}

Misc Osha Macros

control mode.

Toggling control mode while swinging (or possibly feigned) will throw off any tracking of control mode. These checks fix 99% of that. It allows big bold declarations (easy to catch while in combat) of which mode you just toggled into.

shift-tab call bloodbladeControlToggle

bloodbladeControlToggle
{
	"/use /control \r"
	pause 1
	set loglineBleed @env.TextLog
	if loglineBleed >= "• You channel your"
		setglobal bleedToggled 1
		call OnBleedToggleMessages
	else if loglineBleed >= "• Your blade feeds"
		setglobal bleedToggled 0
		call OnBleedUntoggleMessages
	else if loglineBleed >= "To use an item equipped"
		//no bloodblade equipped
		message ""
	else
		//mystery because unfortunately timed logline interfering.
		setglobal bleedToggled 0
	end if
}
OnBleedToggleMessages
{
	//however apparent you want it to be in the log that you just toggled control.  Handy if you routinely forget which mode you are in (like I do)
	message "+++BLEED TOGGLED+++"
	message "+++BLEED TOGGLED+++"
	message "+++BLEED TOGGLED+++"
}
OnBleedUntoggleMessages
{
	//however apparent you want it to be in the log that you just untoggled control.  Handy if you routinely forget which mode you are in (like I do)
	message ""
	message "---UNTOGGLED---"
	message "---UNTOGGLED---"
	message "---UNTOGGLED---"
	message ""
}

2 button feign

Guaranteed no mishaps. One button goes down, one goes up (spamming feign won't cause woopsies, pressing feignDown will always cause you to attempt to initiate a feign)

Click4 and click5 are the 2 side buttons of a mouse (in most cases). Click3 would be the center button.

click4 call feignDown
click5 call feignUp
feignDown
{
 	"/useitem bloodstone /dead\r"
}
feignUp
{
 	"/unequip bloodstone\r"
	"/equip bloodstone\r"
}

1 button feign

can sometimes be thrown off if clicked while attacking or otherwise unable to act. If it is thrown off, pressing feign won't feign you, you will have to press the button a second time for that to happen. That unfortunate situation may cause death by macro mishap.

setglobal magicWord "Nacreus"

click4 call feignDeath

setglobal isDead 0
feignDeath
{
	if isDead == 0
		"/useitem bloodstone /dead\r"
		setglobal isDead 2
		pause 3
		setglobal isDead 1
	else if isDead == 1
		"/whisper " magicWord "\r"
		setglobal isDead 0
	else
		//something weird, so default to flopping
		"/useitem bloodstone /dead\r"
		setglobal isDead 2
		pause 2
		setglobal isDead 1
	end if
}

quick commands for changing ring values

"/5" "/useitem bloodstone /set 5%\r"
"/10" "/useitem bloodstone /set 10%\r"
"/15" "/useitem bloodstone /set 15%\r"
"/20" "/useitem bloodstone /set 20%\r"
"/25" "/useitem bloodstone /set 25%\r"
"/30" "/useitem bloodstone /set 30%\r"
"/35" "/useitem bloodstone /set 35%\r"
"/40" "/useitem bloodstone /set 40%\r"