📢 ¡ATENCIÓN JUGADORES DE LINEAGE 2! 📢
¡L2 Crest Converter ha llegado! El programa creado por PulserX para obtener crests de clan (banderas) que realmente funciona, programado y distribuido de manera gratuita a todo el mundo por su humilde servidor.
¿Cansado de que el viejo CrestMaker falle y arruine tus imágenes en Windows 10/11? Hemos creado una solución actualizada.
✅ Optimizado para Windows 10/11
✅ Convierte PNG/JPG perfectamente
✅ Adiós a las imágenes cuadriculadas
L2 Crest Converter es la herramienta que garantiza que tu crest se vea tal como la diseñaste.
Descárgalo y velo en acción aquí:
👉 https://youtu.be/OVsoi5Vaj7M?si=mhE8Aet0w5nwo6ZE
👉 https://youtu.be/OVsoi5Vaj7M?si=mhE8Aet0w5nwo6ZE
👉 https://youtu.be/OVsoi5Vaj7M?si=mhE8Aet0w5nwo6ZE
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
Question
Devlin
Hello people,
I try to remove exp from monsters & npcs. I did it with success, but when I kill a mob I get an error at gameserver.
My edit:
### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/L2Npc.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/L2Npc.java (revision 5) +++ java/net/sf/l2j/gameserver/model/actor/L2Npc.java (working copy) @@ -1512,14 +1512,6 @@ } /** - * @return the Exp Reward of this L2Npc contained in the L2NpcTemplate (modified by RATE_XP). - */ - public int getExpReward() - { - return (int) (getTemplate().getRewardExp() * Config.RATE_XP); - } - - /** * @return the SP Reward of this L2Npc contained in the L2NpcTemplate (modified by RATE_SP). */ public int getSpReward() Index: java/net/sf/l2j/gameserver/model/actor/L2Attackable.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/L2Attackable.java (revision 5) +++ java/net/sf/l2j/gameserver/model/actor/L2Attackable.java (working copy) @@ -1716,27 +1716,19 @@ if (hpSkill != null) hpRatio *= hpSkill.getPower(); - double xp = (double) getExpReward() * damage / getMaxHp() * hpRatio; double sp = (double) getSpReward() * damage / getMaxHp() * hpRatio; if (diff > 5) // formula revised May 07 { double pow = Math.pow((double) 5 / 6, diff - 5); - xp = xp * pow; sp = sp * pow; } - if (xp <= 0) - { - xp = 0; + if (sp <= 0) sp = 0; - } - else if (sp <= 0) - sp = 0; int[] tmp = { - (int) xp, (int) sp };The error at gameserver:
Thanks in advance!
4 answers to this question
Recommended Posts