Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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!

Posted

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

Posted

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

  • 1 year later...
  • 1 month later...
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock