Jump to content

[Share]Killed Barakiel?[Set Noble]


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...
  • 4 weeks 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.




  • Posts

    • New locations pool! Try it and make your effency greater with Asocks.com!
    • Greetings, Adventurers! 🎉 Announcement: L2 Noxis OBT Server Launch! 🎉 Adventurers of Aden, the moment you’ve been waiting for is here! We are thrilled to announce the official launch of the L2 Noxis Open Beta Test (OBT) Server! Gear up and get ready to embark on an epic journey in the world of Lineage 2 with a plethora of new and exciting features: 🔥 Features of L2 Noxis: Path of Rogue server: Modern Auto-Hunting System: Enjoy a seamless and modern auto-hunting experience, just like in the Essence chronicle. Free To Play Structure: Earn Einhasad's Golden Coins and Tarot cards through various in-game activities, making your adventure rewarding and enjoyable. Long-Term Project: Join us in a long-term commitment to provide a stable, exciting, and evolving gaming environment. Robust Anti-Cheat System: Play with confidence knowing that we have implemented a top-notch anti-cheat system to ensure a fair and balanced gaming experience. Newest Chronicle - Lineage 2: Path of Rogue: Experience the latest chronicle with new content, challenges, and adventures. New Classes: Unleash the power of the Death Knight and the mystical abilities of the Shinemaker. Discover new skills, abilities, and strategies with these exciting classes. Enhanced Rates: Enjoy 2x experience points and 2x adena drop rate, making your progression faster and more rewarding. Join us on this incredible journey and be among the first to experience the wonders of the L2 Noxis server. Gather your friends, form alliances, and conquer the lands of Aden!   📅 Launch Date: [July 10, 2024]   Stay tuned for more updates and get ready to explore, battle, and thrive in the world of L2 Noxis! For more information and instructions how to join the OBT, visit our official website: L2Noxis.com See you in Aden, warriors! 🌟     L2 Noxis Team  
  • Topics

×
×
  • Create New...