Browse Source

BETA: Reverted a little accidental rename in [6386].
* Added `NpcData` author.

Reported by: Zoey76, vampir

Nos 11 years ago
parent
commit
ba073005b7

+ 4 - 4
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/EventDroplist.java

@@ -81,14 +81,14 @@ public class EventDroplist
 	
 	
 	/**
 	/**
 	 * @param itemId the item Id for the drop
 	 * @param itemId the item Id for the drop
-	 * @param l the minimum drop count
-	 * @param m the maximum drop count
+	 * @param min the minimum drop count
+	 * @param max the maximum drop count
 	 * @param chance the drop chance
 	 * @param chance the drop chance
 	 * @param dateRange the event drop rate range
 	 * @param dateRange the event drop rate range
 	 */
 	 */
-	public void addGlobalDrop(int itemId, long l, long m, int chance, DateRange dateRange)
+	public void addGlobalDrop(int itemId, long min, long max, int chance, DateRange dateRange)
 	{
 	{
-		_allNpcDateDrops.add(new DateDrop(dateRange, new EventDrop(itemId, l, m, chance)));
+		_allNpcDateDrops.add(new DateDrop(dateRange, new EventDrop(itemId, min, max, chance)));
 	}
 	}
 	
 	
 	/**
 	/**

+ 3 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/NpcData.java

@@ -49,6 +49,9 @@ import com.l2jserver.gameserver.model.drops.IDropItem;
 import com.l2jserver.gameserver.model.holders.SkillHolder;
 import com.l2jserver.gameserver.model.holders.SkillHolder;
 import com.l2jserver.gameserver.model.skills.L2Skill;
 import com.l2jserver.gameserver.model.skills.L2Skill;
 
 
+/**
+ * @author Nos
+ */
 public class NpcData extends DocumentParser
 public class NpcData extends DocumentParser
 {
 {
 	private static final Logger _log = Logger.getLogger(NpcData.class.getName());
 	private static final Logger _log = Logger.getLogger(NpcData.class.getName());

+ 3 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/script/EventDrop.java

@@ -28,11 +28,11 @@ public class EventDrop
 	private final long _maxCount;
 	private final long _maxCount;
 	private final int _dropChance;
 	private final int _dropChance;
 	
 	
-	public EventDrop(int[] itemIdList, long l, long m, int dropChance)
+	public EventDrop(int[] itemIdList, long min, long max, int dropChance)
 	{
 	{
 		_itemIdList = itemIdList;
 		_itemIdList = itemIdList;
-		_minCount = l;
-		_maxCount = m;
+		_minCount = min;
+		_maxCount = max;
 		_dropChance = dropChance;
 		_dropChance = dropChance;
 	}
 	}