Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Help Code For Clan Rep And Fame From Mobs


Hello guys , is this code going to work for the latest L2j hi5 files?

Index: L2J_Server/com/l2jserver/gameserver/model/actor/instance
+++ L2J_Server/com/l2jserver/gameserver/model/actor/instance/L2MonsterInstance.java

@@ 159 , 23   162 , 24 @@
	public boolean doDie(L2Character killer)
		if (!super.doDie(killer))
			return false;
		if (_maintenanceTask != null)
			_maintenanceTask.cancel(false); // doesn't do it?
			_maintenanceTask = null;
+		if (getNpcId() == YourMobId) //Set here which mob ID you want to "drop" fame on die.
+		{
+			L2PcInstance kil = (L2PcInstance) killer;
+			//kil.setFame(kil.getFame() + Fame_Points); // set here how many fame points you want to add in character
+                      kil.getClan().addReputationScore(Clan_points, true) //set on clan_points number of points you want to give
+		}
		return true;

Share this post

Link to post
Share on other sites

1 answer to this question

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.

Answer this question...

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