Intrepid Posted July 11, 2010 Posted July 11, 2010 for gods sake guys.... ### Eclipse Workspace Patch 1.0 #P L2J-GameServer Index: java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java (revision 241) +++ java/com/l2jserver/gameserver/model/actor/instance/L2RaidBossInstance.java (working copy) @@ -99,6 +99,8 @@ RaidBossPointsManager.addPoints(player, this.getNpcId(), (this.getLevel() / 2) + Rnd.get(-5, 5)); if(player.isNoble()) Hero.getInstance().setRBkilled(player.getObjectId(), this.getNpcId()); + else if (getNpcId() == XXXX) + player.setNoble(true); } } its 2 damn line n5damn second to make... Quote
Cod3x Posted July 11, 2010 Posted July 11, 2010 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) Really pathetic code, so let me guess everytime you kill barakiel you get noblesse status, pff ill camp barakiel because i wanna be 100 times NOBLESSE!Yes that's right and possible with this code yyyy! Add checks because i am gonna murder myself. Quote
akaa Posted July 11, 2010 Author Posted July 11, 2010 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) Really pathetic code, so let me guess everytime you kill barakiel you get noblesse status, pff ill camp barakiel because i wanna be 100 times NOBLESSE!Yes that's right and possible with this code yyyy! Add checks because i am gonna murder myself. Ok Ill add'em.Promise youll die?I want webcam be4 you die. EDIT:ADDED! Quote
xAddytzu Posted July 11, 2010 Posted July 11, 2010 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) Really pathetic code, so let me guess everytime you kill barakiel you get noblesse status, pff ill camp barakiel because i wanna be 100 times NOBLESSE!Yes that's right and possible with this code yyyy! Add checks because i am gonna murder myself. You can extend it by your self, this is just an exemple(the ideas) It's not so hard to add a negative statement Quote
akaa Posted July 11, 2010 Author Posted July 11, 2010 You can extend it by your self, this is just an exemple(the ideas) It's not so hard to add a negative statement He is pro coder.Shhhh Quote
Intrepid Posted July 11, 2010 Posted July 11, 2010 He is pro coder.Shhhh if hes pro coder i put my head up to my ass Quote
akaa Posted July 11, 2010 Author Posted July 11, 2010 if hes pro coder i put my head up to my ass Im sure that you wont.There's no need Quote
AlexCardyz Posted March 15, 2012 Posted March 15, 2012 I was looking for this script, until I found the end xD thk Quote
Rzeszut Posted May 6, 2012 Posted May 6, 2012 please rework this code , dont work on interlude l2jfrozen ;/ please add to project Quote
DiNamO Posted May 31, 2012 Posted May 31, 2012 Tested, works on frozen for me, i think you made a mistake. Quote
Recommended Posts
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.