소스 검색

BETA: Fix for #L5690.

Zoey76 13 년 전
부모
커밋
83aca9d619
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      L2J_DataPack_BETA/data/scripts/handlers/targethandlers/TargetCorpseMob.java

+ 1 - 1
L2J_DataPack_BETA/data/scripts/handlers/targethandlers/TargetCorpseMob.java

@@ -46,7 +46,7 @@ public class TargetCorpseMob implements ISkillTargetTypeHandler
 			}
 			case DRAIN:
 			{
-				if (((L2Attackable) target).checkCorpseTime(activeChar.getActingPlayer(), (Config.NPC_DECAY_TIME / 2), true))
+				if (!((L2Attackable) target).checkCorpseTime(activeChar.getActingPlayer(), (Config.NPC_DECAY_TIME / 2), true))
 				{
 					return _emptyTargetList;
 				}