rendered paste bodyIndex: C:/Documents and Settings/Adrien/workspace/L2JUtoC5GS/java/net/sf/l2j/gameserver/skills/L2SkillDrain.java
===================================================================
--- C:/Documents and Settings/Adrien/workspace/L2JUtoC5GS/java/net/sf/l2j/gameserver/skills/L2SkillDrain.java (revision 223)
+++ C:/Documents and Settings/Adrien/workspace/L2JUtoC5GS/java/net/sf/l2j/gameserver/skills/L2SkillDrain.java (working copy)
@@ -73,9 +73,8 @@
}
}
- boolean mcrit = Formulas.getInstance().calcMCrit(activeChar.getMCriticalHit(target, this));
int damage = (int)Formulas.getInstance().calcMagicDam(
- activeChar, target, this, ss, bss, mcrit);
+ activeChar, target, this, ss, bss);
double hpAdd = absorbAbs + absorbPart * damage;
double hp = ((activeChar.getCurrentHp() + hpAdd) > activeChar.getMaxHp() ? activeChar.getMaxHp() : (activeChar.getCurrentHp() + hpAdd));
@@ -93,7 +92,6 @@
if (damage > 0)
{
- if (mcrit) activeChar.sendPacket(new SystemMessage(1280));
SystemMessage sm = new SystemMessage(SystemMessage.YOU_DID_S1_DMG);
sm.addNumber(damage);