Okay, it's a minor modification. But I thought why not release it, there might be people who need it.
This is for the rev 988 command system. But you're probably able to port it to older revision's command systems.
Not making a patch file because it's so small.
In client.messages.commands.MonsterInfoCommands.java (CommandProcessor.java for older revisions):
Replace:
With:Code:map.killMonster(monster, c.getPlayer(), false);
And add right below that:Code:map.killMonster(monster, c.getPlayer(), true);
EDIT: forgot this:Code:monster.giveExpToCharacter(c.getPlayer(), monster.getExp(), true, 1);
In MapleMonster.java
Change that to:Code:private void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {
And done ;pCode:public void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {



Reply With Quote


