ソースを参照

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

Reported by: Zephyr
Nos 11 年 前
コミット
0f6a80c8ac

+ 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;