-
aardkaz
- Posts: 14
- Joined: Thu Dec 10, 2009 1:33 am
#1
Post
by aardkaz » Sun Dec 27, 2009 2:08 pm
I kept dieing, and I could not figure out why, the mobs were not even that difficult, it was because they occassionally would cast weakness and other nasty debuffs, and the bot would continue to kill things and I would die when I had the debuff... here is what I did so that I dont go into combat until there are no debuffs, this goes into your profile file.
Code: Select all
<onLeaveCombat>
local debuff = RoMScript("GetPlayerBuffLeftTime(GetPlayerBuff(1,'HARMFUL'))");
if(debuff == nil) then
debuff = 0;
end
while debuff ~= 0 do
printf("Debuff:%s\n", debuff);
yrest(1000);
debuff = 0;
debuff = RoMScript("GetPlayerBuffLeftTime(GetPlayerBuff(1,'HARMFUL'))");
if(debuff == nil) then
debuff = 0;
end
end
printf("No Debuff, lets resume\n");
</onLeaveCombat>
Who is online
Users browsing this forum: Bing [Bot] and 1 guest