This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Rio
Here are the codes that i want to import to my pack (l2jhellas):
Index: java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java (revision 0) +++ java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java (revision 0) @@ -86,4 +86,8 @@ if (player != null) { + int _barakielId = 25325; + if (getNpcId() == _barakielId) + { + player.setNoble(true); + player.sendMessage("You have gained Noblesse status by killing Barakiel!"); + } broadcastPacket(new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL)); if (player.getParty() != null)&
can you rewrite it for l2jhellas pls? i got error with (activeChar.getX(), activeChar.getY(), activeChar.getZ(), 14, 3);
&
int _barakielId = 25325;
+ if (getNpcId() == _barakielId)
+ {
+ player.setNoble(true);
+ player.sendMessage("You have gained Noblesse status by killing Barakiel!");
+ }
6 answers to this question
Recommended Posts