Jump to content

[Guide] Announcement spawn Raid boss.


Recommended Posts

Astralys

Announcements.getInstance().announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

100% tested and working, its announcing only after "normal" spawn, so if u are writing //spawn id then it wont announce it :)

Link to comment
Share on other sites

  • 2 weeks later...

hey all.

Go to net.sf.l2j.gameserver.instancemanager  ----- RaidBossSpawningManager.java

After

 

 

               GmListTable.broadcastMessageToGMs("Spawning Raid Boss " + raidboss.getName());

                 _bosses.put(bossId, raidboss);
                _schedules.remove(bossId);

   

 

Insert this code

 

 

 

             Announcements _an = Announcements.getInstance();
    		           _an.announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");
         

 

When ingame raid boss spawning, announcement to all player in the world.

 

Hope you fun.

 

you could make a config option to announce a id or a name of rb:) would be nice for some servers , not all rbs.
Link to comment
Share on other sites

  • 10 months later...

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
Reply to this topic...

×   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...