Sync with L2jServer HighFive Apr 21st 2015.

This commit is contained in:
MobiusDev
2015-04-22 09:59:28 +00:00
parent c896c6cd51
commit 1a6970e30d
37 changed files with 1518 additions and 1298 deletions

View File

@@ -18,7 +18,7 @@
*/
package com.l2jserver.gameserver.model.drops;
import java.util.Collection;
import java.util.List;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.holders.ItemHolder;
@@ -28,11 +28,12 @@ import com.l2jserver.gameserver.model.holders.ItemHolder;
*/
public interface IDropItem
{
/**
* Calculates drops of this drop item.
* @param victim the victim
* @param killer the killer
* @return {@code null} or empty collection if there are no drops, a collection containing all items to drop otherwise
*/
public Collection<ItemHolder> calculateDrops(L2Character victim, L2Character killer);
public List<ItemHolder> calculateDrops(L2Character victim, L2Character killer);
}