This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
ganjaradio
if ((player != null) && (player.isInAnonymousZone()) { while (i < 10) { actor.doCast(SkillTable.getInstance().getInfo(skillId, 1), player, true); try { Thread.sleep(60000); } catch(InterruptedException ex) { Thread.currentThread().interrupt(); } i = i + 1; } }will this
work to be casting the spell again after 1 minute?
also if i remove the player != null , the mobs and other creatures will be doing the same thing if they are inside the zone?
Ps: i dont have any errors
Edited by ganjaradio14 answers to this question
Recommended Posts