diff options
author | TheJumper <maximilian.springer@web.de> | 2014-02-23 18:13:49 +0100 |
---|---|---|
committer | TheJumper <maximilian.springer@web.de> | 2014-02-23 18:13:49 +0100 |
commit | 1afcc255bfe7153dc397970e0ece41d6d48e63be (patch) | |
tree | a6c3ea18af891781c4a7e48528e635def25ba98e /src/Mobs/Skeleton.cpp | |
parent | Finally corrected the Enchantment constants. (diff) | |
download | cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.gz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.bz2 cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.lz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.xz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.zst cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Skeleton.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/Skeleton.cpp b/src/Mobs/Skeleton.cpp index 661f0712c..47fcdbb26 100644 --- a/src/Mobs/Skeleton.cpp +++ b/src/Mobs/Skeleton.cpp @@ -27,19 +27,19 @@ void cSkeleton::GetDrops(cItems & a_Drops, cEntity * a_Killer) } if (IsWither()) { - AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_BONE); AddRandomUncommonDropItem(a_Drops, 33.0f, E_ITEM_COAL); cItems RareDrops; RareDrops.Add(cItem(E_ITEM_HEAD, 1, 1)); AddRandomRareDropItem(a_Drops, RareDrops, LootingLevel); - AddRandomArmorDropItem(a_Drops, LootingLevel); } else { AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_ARROW); - AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_BONE); - AddRandomArmorDropItem(a_Drops, LootingLevel); + } + AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_BONE); + AddRandomArmorDropItem(a_Drops, LootingLevel); + AddRandomWeaponDropItem(a_Drops, LootingLevel); } |