소스 검색

BETA: Fixed `Sweeper` effect it was not working after some time.

Reported by: Zephyr
Nos 11 년 전
부모
커밋
0f6a80c8ac
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Sweeper.java

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Sweeper.java

@@ -32,8 +32,6 @@ import com.l2jserver.gameserver.model.skills.BuffInfo;
  */
 public final class Sweeper extends AbstractEffect
 {
-	private static final int MAX_SWEEPER_TIME = 15000;
-	
 	public Sweeper(Condition attachCond, Condition applyCond, StatsSet set, StatsSet params)
 	{
 		super(attachCond, applyCond, set, params);
@@ -60,11 +58,6 @@ public final class Sweeper extends AbstractEffect
 			return;
 		}
 		
-		if (monster.isOldCorpse(player, MAX_SWEEPER_TIME, false))
-		{
-			return;
-		}
-		
 		if (!player.getInventory().checkInventorySlotsAndWeight(monster.getSpoilLootItems(), false, false))
 		{
 			return;