Jump to content
  • 0

How Can I Make This?


Question

Posted (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 by Kelrzher

6 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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
Posted
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
Posted (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 by raF
  • 0
Posted
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
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock