<onSkillCast><![CDATA[
while(true) do
if (player:hasBuff("High Voltage III")) then
player:cast("WARRIOR_LIGHTNINS_TOUCH")
else
player:cast("WARRIOR_ELECTRICAL_RAGE")
end
end
]]></onSkillCast>
Any suggestion to fix this problem?
-Keep up good work, I wouldn't be playing RoM if there is no Rom Bot-
That "while" loop has no exit. It just goes round and round checking that buff indefinately. Probably you don't want the "while" loop, just if "if" statement. That way, everytime you cast a skill, it will check that buff once.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.