Skip to content

Instantly share code, notes, and snippets.

@aikar
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aikar/b01b1637903da35bd7f1 to your computer and use it in GitHub Desktop.
Save aikar/b01b1637903da35bd7f1 to your computer and use it in GitHub Desktop.
public abstract class Enraged<T extends Creature> extends CustomMob<T> {
{
double nMod = (this instanceof Netherhound) ? .5D : 1D;
setLootPool(
LootItem(50 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(4*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(10),
LootItem(20 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(4*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(9),
LootItem(15 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(3*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(8),
LootItem(8 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(3*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(7),
LootItem(6 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(3*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(6),
LootItem(4 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(2*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(5),
LootItem(2 *nMod, DRAGON_STONE_FRAGMENT.qtyRange(2*nMod)).looting(DRAGON_STONE_FRAGMENTS).minDiff(4),
LootItem(35 *nMod, newItem(Material.DIAMOND).qtyRange(12*nMod, 20*nMod)).looting(DIAMONDS_ENRAGED).minDiff(9),
LootItem(35 *nMod, newItem(Material.DIAMOND).qtyRange(8*nMod, 16*nMod)).looting(DIAMONDS_ENRAGED).minDiff(7),
LootItem(25 *nMod, newItem(Material.DIAMOND).qtyRange(3*nMod, 12*nMod)).looting(DIAMONDS_ENRAGED).minDiff(4)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment