All pastes #288903 Raw Edit

Someone

public text v1 · immutable
#288903 ·published 2006-12-22 18:18 UTC
rendered paste body
Index: java/net/sf/l2j/gameserver/skills/L2SkillDrain.java
===================================================================
--- java/net/sf/l2j/gameserver/skills/L2SkillDrain.java	(revision 359)
+++ java/net/sf/l2j/gameserver/skills/L2SkillDrain.java	(working copy)
@@ -74,9 +74,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));
@@ -99,7 +98,6 @@
                     target.breakCast();
                 }
 
-                if (mcrit) activeChar.sendPacket(new SystemMessage(1280));
                 
     			SystemMessage sm = new SystemMessage(SystemMessage.YOU_DID_S1_DMG);
     			sm.addNumber(damage);