浏览代码

Cursed Weapon Correction in drop, thanks Venom.

Ahmed 17 年之前
父节点
当前提交
41b441e8dc
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      L2_GameServer_T1/java/net/sf/l2j/gameserver/model/L2Attackable.java

+ 1 - 3
L2_GameServer_T1/java/net/sf/l2j/gameserver/model/L2Attackable.java

@@ -1267,9 +1267,7 @@ public class L2Attackable extends L2NpcInstance
 
 
          int levelModifier = calculateLevelModifierForDrop(player);          // level modifier in %'s (will be subtracted from drop chance)
          int levelModifier = calculateLevelModifierForDrop(player);          // level modifier in %'s (will be subtracted from drop chance)
 
 
-         // Check the drop of a cursed weapon
-         if (levelModifier == 0 && player.getLevel() > 20) // Not deep blue mob
-         	CursedWeaponsManager.getInstance().checkDrop(this, player);
+         CursedWeaponsManager.getInstance().checkDrop(this, player);
 
 
          // now throw all categorized drops and handle spoil.
          // now throw all categorized drops and handle spoil.
          if (npcTemplate.getDropData()!=null)
          if (npcTemplate.getDropData()!=null)