some problems with bot after patch
Posted: Thu Feb 03, 2011 4:11 am
hey there,
last night i started my blend-rune bot the first time after patch.
he encountered two problems he didn't had before.
- no ressurect after dead
- no healing after combat
Rev is 570
any ideas what happend?
or any ideas how optimize this code?
last night i started my blend-rune bot the first time after patch.
he encountered two problems he didn't had before.
- no ressurect after dead
Code: Select all
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />Code: Select all
<onLeaveCombat><![CDATA[
-- Additional Lua code to execute after killing an enemy
if (50 > player.HP/player.MaxHP*100 ) then
RoMScript("UseAction(9)"); -- Sprit Herb Essenz
yrest(2200);
elseif (75 > player.HP/player.MaxHP*100 ) then
RoMScript("UseAction(8)") -- Infinite Herb
end;
-- rune thorns
if (inventory:itemTotalCount(212185)<500) then
sendMacro("UseEquipmentItem(10)");
yrest(1000);
inventory:useItem(212185);
end;
]]></onLeaveCombat>any ideas what happend?
or any ideas how optimize this code?