1
0

Changed formatting again

This commit is contained in:
TheJumper 2014-02-22 22:59:12 +01:00
parent 90574d083d
commit 43b2370bac

View File

@ -24,7 +24,7 @@ void cSpider::GetDrops(cItems & a_Drops, cEntity * a_Killer)
LootingLevel = a_Killer->GetEquippedWeapon().m_Enchantments.GetLevel(E_ENCHANTMENT_LOOTING); LootingLevel = a_Killer->GetEquippedWeapon().m_Enchantments.GetLevel(E_ENCHANTMENT_LOOTING);
} }
AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_STRING); AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_STRING);
if (a_Killer != NULL && (a_Killer->IsPlayer() || a_Killer->IsA("cWolf"))) if ((a_Killer != NULL) && (a_Killer->IsPlayer() || a_Killer->IsA("cWolf")))
{ {
AddRandomUncommonDropItem(a_Drops, 33.0f, E_ITEM_SPIDER_EYE); AddRandomUncommonDropItem(a_Drops, 33.0f, E_ITEM_SPIDER_EYE);
} }