/*
* This file is part of aion-unique <aion-unique.org>.
*
* aion-emu is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* aion-unique is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with aion-unique. If not, see <http://www.gnu.org/licenses/>.
*/
package com.aionemu.gameserver.model.group;
/**
* @author ATracer
*
*/
public class LootGroupRules
{
private LootRuleType lootRule;
private LootDistribution autodistribution;
private int common_item_above;
private int superior_item_above;
private int heroic_item_above;
private int fabled_item_above;
private int ethernal_item_above;
private int over_ethernal;
private int over_over_ethernal;
public LootGroupRules()
{
this.lootRule = LootRuleType.FREEFORALL;
this.autodistribution = LootDistribution.NORMAL;
common_item_above = 0;
superior_item_above = 0;
heroic_item_above = 0;
fabled_item_above = 0;
ethernal_item_above = 0;
over_ethernal = 0;
over_over_ethernal = 0;
}
public LootGroupRules(LootRuleType lootRule, LootDistribution autodistribution, int commonItemAbove, int superiorItemAbove,
int heroicItemAbove, int fabledItemAbove, int ethernalItemAbove, int overEthernal, int overOverEthernal)
{
super();
this.lootRule = lootRule;
this.autodistribution = autodistribution;
common_item_above = commonItemAbove;
superior_item_above = superiorItemAbove;
heroic_item_above = heroicItemAbove;
fabled_item_above = fabledItemAbove;
ethernal_item_above = ethernalItemAbove;
over_ethernal = overEthernal;
over_over_ethernal = overOverEthernal;
}
/**
* @return the lootRule
*/
public LootRuleType getLootRule()
{
return lootRule;
}
/**
* @return the autodistribution
*/
public LootDistribution getAutodistribution()
{
return autodistribution;
}
/**
* @return the common_item_above
*/
public int getCommon_item_above()
{
return common_item_above;
}
/**
* @return the superior_item_above
*/
public int getSuperior_item_above()
{
return superior_item_above;
}
/**
* @return the heroic_item_above
*/
public int getHeroic_item_above()
{
return heroic_item_above;
}
/**
* @return the fabled_item_above
*/
public int getFabled_item_above()
{
return fabled_item_above;
}
/**
* @return the ethernal_item_above
*/
public int getEthernal_item_above()
{
return ethernal_item_above;
}
/**
* @return the over_ethernal
*/
public int getOver_ethernal()
{
return over_ethernal;
}
/**
* @return the over_over_ethernal
*/
public int getOver_over_ethernal()
{
return over_over_ethernal;
}
}