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
+++ L2J_Server/com/l2jserver/gameserver/model/actor/instance/L2MonsterInstance.java
@@ 159 , 23 162 , 24 @@
@Override
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;
}
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.
🚨 Only 2 Days Left Until Our Beta Launch! 🚨
The wait is almost over! In just two days, we'll be opening up our beta, and there's so much for you to explore and experience. We can't wait for you to dive in, test things out, and share your thoughts with us.
Your feedback will help shape the future, and we're excited to have you on this journey with us! 🌟
ADD YOUR SERVERS AND PROMOTE YOUR SERVER FOR FREE.
For owners, our team offers quality advertising services!
Website: https://top.4teambr.com
Premium account free for 7 days
VoteSystem/Callback/API
Question
Justice7
Hello guys , is this code going to work for the latest L2j hi5 files?
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.