using ODMO.Commons.ViewModel.Asset;
namespace ODMO.Commons.ViewModel.Mobs
{
public class MobItemDropViewModel
{
///
/// JIT property.
///
public ItemAssetViewModel ItemInfo { get; set; }
///
/// Sequencial unique identifier.
///
public long Id { get; set; }
///
/// Client item id information.
///
public int ItemId { get; set; }
///
/// Min. amount of the item.
///
public int MinAmount { get; set; }
///
/// Max. amount of the item.
///
public int MaxAmount { get; set; }
///
/// Chance of drop.
///
public double Chance { get; set; }
///
/// Reward rank number.
///
public int Rank { get; set; }
public MobItemDropViewModel()
{
MinAmount = 1;
MaxAmount = 1;
Rank = 1;
}
public MobItemDropViewModel(long lastId)
{
Id = lastId + 1;
MinAmount = 1;
MaxAmount = 1;
Rank = 1;
}
}
}