Untitled
unknown
plain_text
2 years ago
1.6 kB
8
Indexable
local amulet = 3081
local equip_ammy = null
if getNeck() then equip_ammy = getNeck():getId() end
ssa_Pvp=macro(50, "Auto SSA", "Insert", function()
if hppercent() <= 100 and (getNeck() == null or getNeck():getId() ~= amulet) then
g_game.equipItemId(amulet)
delay(200)
elseif hppercent() >= 101 and (getNeck() == null or equip_ammy and getNeck():getId() ~= equip_ammy) then
g_game.equipItemId(equip_ammy)
delay(200)
end
end)
addIcon("(RP) PvP", {item=3081, text="Auto SSA"}, function(icon, isOn)
ssa_Pvp.setOn(isOn)
end)
local ring = 3048
local equip_ammy = null
if getFinger() then equip_ammy = getFinger():getId() end
mig_Pvp=macro(50, "Auto Might Ring", "Delete", function()
if hppercent() <= 100 and (getFinger() == null or getFinger():getId() ~= ring) then
g_game.equipItemId(ring)
delay(200)
elseif hppercent() >= 102 and (getFinger() == null or equip_ammy and getFinger():getId() ~= equip_ammy) then
g_game.equipItemId(equip_ammy)
delay(200)
end
end)
addIcon("(RP) PvP", {item=3048, text="Auto Might"}, function(icon, isOn)
mig_Pvp.setOn(isOn)
end)
local energypercent = 70;
local otherring = 90;
local ringOne = 3051
local ringTwo = 39188
ener_Pvp=macro(200, "Arboreal > Energy Ring", function()
if hppercent() <= energypercent and findItem(ringOne) then
moveToSlot(ringOne, SlotFinger)
elseif (hppercent() >= otherring) and findItem(ringTwo) then
moveToSlot(ringTwo, SlotFinger)
end
end)
addIcon("(RP) PvP", {item=3051, text="E-Ring"}, function(icon, isOn)
ener_Pvp.setOn(isOn)
end)Editor is loading...