Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P aCis_gameserver
- Index: java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java
- ===================================================================
- --- java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java (revision 12)
- +++ java/net/sf/l2j/gameserver/instancemanager/RaidBossSpawnManager.java (working copy)
- @@ -33,6 +33,7 @@
- import net.sf.l2j.gameserver.model.actor.instance.L2RaidBossInstance;
- import net.sf.l2j.gameserver.templates.StatsSet;
- import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate;
- +import net.sf.l2j.gameserver.util.Broadcast;
- import net.sf.l2j.gameserver.util.Util;
- import net.sf.l2j.util.Rnd;
- @@ -139,6 +140,11 @@
- _storedInfo.put(bossId, info);
- + int raidId = 1;
- +
- + if (raidboss.getNpcId() == raidId)
- + Broadcast.announceToOnlinePlayers(raidboss.getName()+" has been spawned.");
- +
- _log.info("RaidBoss: " + raidboss.getName() + " has spawned.");
- _bosses.put(bossId, raidboss);
Advertisement
Add Comment
Please, Sign In to add comment