Skip to content

Instantly share code, notes, and snippets.

@BlockAfterBlock
Created May 6, 2011 20:53
Show Gist options
  • Select an option

  • Save BlockAfterBlock/959757 to your computer and use it in GitHub Desktop.

Select an option

Save BlockAfterBlock/959757 to your computer and use it in GitHub Desktop.
protected void dropFewItems()
{
int i = rand.nextInt(3);
for(int k = 0; k < i; k++)
{
dropItem(Item.bone.shiftedIndex, 1);
}
if(rand.nextInt(20)==0)
{
dropItem(mod_LotsMoreHumans.LMHBattleAxe.shiftedIndex, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment