I want to make my grand bosses via ai.java to respawn in 6 hours.
But i try to put the correct values and sometimes they respawn in minutes D: .
this are the default values in the ai
Code: Select all
Core: //time is 60hour +/- 23hour long respawnTime = (27 + Rnd.get(47)) * 3600000; startQuestTimer("core_unlock", respawnTime, null, null); Baium // "lock" baium for 5 days and 1 to 8 hours [i.e. 432,000,000 + 1*3,600,000 + random-less-than(8*3,600,000) millisecs] long respawnTime = ((121 + Rnd.get(8)) * 3600000); GrandBossManager.getInstance().setBossStatus(LIVE_BAIUM,DEAD); startQuestTimer("baium_unlock", respawnTime, null, null); Antharas GrandBossManager.getInstance().setBossStatus(ANTHARAS,DEAD); long respawnTime = ((192 + Rnd.get(145) ) * 3600000); this.startQuestTimer("antharas_unlock", respawnTime, null, null); Zaken //time is 36hour +/- 17hour long respawnTime = ((19 + Rnd.get(35) ) * 3600000); startQuestTimer("zaken_unlock", respawnTime, null, null); cancelQuestTimer("1001", npc, null); cancelQuestTimer("1003", npc, null); Valakas //GrandBossManager.getInstance().setBossStatus(VALAKAS,DEAD); long respawnTime = ((192 + Rnd.get(145) ) * 3600000); this.startQuestTimer("valakas_unlock", respawnTime, null, null); Orfen //time is 48hour +/- 20hour long respawnTime = (28 + Rnd.get(41) * 3600000); this.startQuestTimer("orfen_unlock", respawnTime, null, null); Queen ant //time is 36hour +/- 17hour long respawnTime = ((19 + Rnd.get(35) ) * 3600000); startQuestTimer("queen_unlock", respawnTime, null, null); cancelQuestTimer("action", npc, null);
the problems they have diferent numbers an variables :l
I need a lil tut or a good samarithan to help me make them 6 hour respawn via ai.
thnx in advance