sigonasr2 2c5b2ac15a ->All loot bugs and drop rates have been completely corrected (including
item sets without breaks remaining/enchantments) and now rely on a
proper weighting system to hand out drops. As a reminder, the base
chance for a special item roll to occur is 10%. (And this is affected by
Looting, Luck buffs, Party member buffs, etc)
->Loot from Zombie Leaders are a lot better now.
->Added more safe checks to make sure drops were dropping in the world
by the game.
->Block and Dodge Chance is now hard capped at 95%. Only the Ranger
Close Mode "Perfect Dodge" will allow you to dodge 100% of the time.
->Fixed a bug where no damage ticks were not being reset for applying
Death Mark on monsters.
->Fixed a bug with resetting no damage ticks not properly working.
->Death Mark behavior has been modified. Targets killed when ignited
with Death Mark resets the cooldown on Death Mark, allowing you to cast
it again in 1 second. Targets not killed by Death Mark only consumes
half the stacks now.
->Death Mark tooltip has been updated.
->Fixed a bug with Death Loot that prevented items from being respawned
on very rare occasions. Extensive logging is now done during death
sessions to ensure we have physical proof of respawning.
->Fixed a bug with hardened bows not breaking.
->Chainmail armor now has damage reduction equivalent to Leather armor
instead of none at all.
->Added getPlayerMode() to API.
2016-08-27 14:33:41 -05:00

25 lines
477 B
Java

package sig.plugin.TwosideKeeper.Drops;
import org.bukkit.inventory.ItemStack;
import aPlugin.Drop;
public class GenericDrop extends Drop{
ItemStack item;
short data;
public GenericDrop(int amount, int weight, String description, ItemStack item, short data) {
super(amount, weight, description);
this.item=item;
this.data=data;
}
@Override
public ItemStack getItemStack() {
this.item.setDurability(data);
return this.item;
}
}