Jump to content

Question

Posted

Hello I have one question , one very simple question but I don't know how it works on aCis exactly. How just i can spawn one raid boss (L2RaidBossInstance) and to set it's respawn time 5 hours for example? Does it need any edit in raidboss_spawnlist in database? I am confused thanks.

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

RaidBossSpawnManager.updateStatus

final int respawnDelay = boss.getSpawn().getRespawnMinDelay() + Rnd.get(-boss.getSpawn().getRespawnMaxDelay(), boss.getSpawn().getRespawnMaxDelay());
For bosses, it is fed differently than regular spawnlist (understand than regular spawnlist is generated on a different places than raidboss spawnlist)
 
RaidBossSpawnManager.init
spawnDat.setRespawnMinDelay(rset.getInt("spawn_time"));
spawnDat.setRespawnMaxDelay(rset.getInt("random_time"));

using infos from raidboss_spawnlist.

 

Which gives, for 10 spawn_time and 5 random_time = 5-15 (aka 10 +- 5).

Edited by Tryskell

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...