瀏覽代碼

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;