Loop
Posted: Sat Apr 14, 2012 7:30 am
I'm trying to do some script to my profile but it seems to get in loop everytime I try to use it.
Any suggestion to fix this problem?
Code: Select all
<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>