Skip to content

How Can I Make This?

Featured Replies

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 Kelrzher

Solved by Kelrzher

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!!

  • Author
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 


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 by raF

  • Author
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?

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.

  • Author
  • Solution

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.