-
Personalausweis
- Posts: 73
- Joined: Mon Aug 16, 2010 12:50 pm
#1
Post
by Personalausweis » 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
Code: Select all
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
- no healing after combat
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>
Rev is 570
any ideas what happend?
or any ideas how optimize this code?
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#3
Post
by lisa » Fri Feb 04, 2011 6:20 am
it's interesting it resurected once and then not second time.
When you did SVN update did you copy the new ingamefunctions to the Runes of magic folder?
-
Personalausweis
- Posts: 73
- Joined: Mon Aug 16, 2010 12:50 pm
#4
Post
by Personalausweis » Fri Feb 04, 2011 7:33 am
it's very strange...
i did some changes to the waypoints so he dies less, and everything is working -.-
even if he dies re resurects now as intended.
don't know...
whatever, its working now ^^
u can close/delete thread
Who is online
Users browsing this forum: Bing [Bot] and 7 guests