Kelrzher Posted August 8, 2015 Posted August 8, 2015 (edited) I want to spawn a boss when the siege of rune starts (only) how is that possible? When siege start then boss spawn (also i want the boss to have a dialog) Edited August 8, 2015 by Kelrzher
0 Kelrzher Posted August 8, 2015 Author Posted August 8, 2015 On 8/8/2015 at 3:36 PM, raF said: Man, I am not sure if this is right or not. I am really bad in java, but when I dont know somethign i try to find it in any others files. Go make a copy of Siege.java and try everything until it works. solved by nik, thanks anyway Nik helped me ! lock it
0 Wazzup Posted August 8, 2015 Posted August 8, 2015 im not sure since im new but i think that you have to check rune's siege time in your configs and set the same time for the boss too... IM NOT SURE!!
0 Kelrzher Posted August 8, 2015 Author Posted August 8, 2015 final long siegeDate = CastleManager.getInstance().getCastleById(8).getSiegeDate().getTimeInMillis(); if (siegeDate - System.currentTimeMillis() > 0) man i solved that, how i call the spawn , i ask that please if you dont understand my problem dont post, thanks
0 raF Posted August 8, 2015 Posted August 8, 2015 (edited) public static final int BENOM= benom Id; final L2Npc Benom = addSpawn(BENOM, loc_x, loc_y, loc_z, heading, false, 0, false); GrandBossManager.getInstance().addBoss((L2GrandBossInstance) Benom); Benom.setCurrentHpMp(hp, mp); Benom.setRunning(); Edited August 8, 2015 by raF
0 Kelrzher Posted August 8, 2015 Author Posted August 8, 2015 On 8/8/2015 at 2:59 PM, raF said: public static final int BENOM= benom Id; final L2Npc Benom = addSpawn(BENOM, loc_x, loc_y, loc_z, heading, false, 0, false); GrandBossManager.getInstance().addBoss((L2GrandBossInstance) Benom); Benom.setCurrentHpMp(hp, mp); Benom.setRunning(); thanks but where , i want on start siege .. Siege.java on startSiege Method?
0 raF Posted August 8, 2015 Posted August 8, 2015 Man, I am not sure if this is right or not. I am really bad in java, but when I dont know somethign i try to find it in any others files. Go make a copy of Siege.java and try everything until it works.
Question
Kelrzher
I want to spawn a boss when the siege of rune starts (only) how is that possible? When siege start then boss spawn (also i want the boss to have a dialog)
Edited by Kelrzher6 answers to this question
Recommended Posts