Page 1 of 1

how to set drop exp when die

Posted: Fri Jan 10, 2014 3:48 pm
by Amida
Now in my server, player don't drop exp when die. I want know where for config and where the code for define it.

And 1 more question, now when I enchant an item, backup stone (support item for increase the success to 20%) only use in lv 3-9. I just change the max enchant of this item to 39 at AbstractEnchantPacket.java :
_supports.put(12366, new EnchantItem(true, L2Item.CRYSTAL_S, 36, 20, null));
but when I'm in-game, if armor/weapon is enchant bigger than 9, the slot for put backup stone can not display. How I can fix it?

I use Freya

Re: how to set drop exp when die

Posted: Fri Jan 10, 2014 8:28 pm
by jurchiks
It might be hardcoded client-side...

Re: how to set drop exp when die

Posted: Tue Jan 14, 2014 11:30 am
by Nerimah
You should edit your backup stones inside /game/data/enchantData.xml.

Find the lines with "<!-- Weapon-Type Enhance Backup Stone -->" or "<!-- Armor-Type Enhance Backup Stone -->" and increase the "maxEchant" parameter.