All pastes #45669 Raw Edit

Mine

public text v1 · immutable
#45669 ·published 2006-03-14 14:28 UTC
rendered paste body
BUG:  if u have a DOT skill cast on u .. and ur a wiz and u use Body to Mind ... if ur HP is close to the threshold u can normally activate BTM, if u use it, u die


L2Character ~ line 4049

           // Consumme HP if necessary and Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
           if (skill.getHpConsume() > 0)
           {
               getStatus().reduceHp(skill.getHpConsume(), this);
               if (getCurrentHp() < 1)
               {
            	   this.setCurrentHp(0 + 1);
            	   sendPacket(su);
               }
               else
               {
            	   su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());
                   isSendStatus = true;
               }
               su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());
               isSendStatus = true;
           }