feat: loot tables (#43)

self-explanatory

Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/43
This commit is contained in:
Fireblade
2026-07-12 02:05:06 +01:00
parent 0449af2be6
commit 54528fac16
146 changed files with 6397 additions and 1277 deletions
+4
View File
@@ -143,6 +143,7 @@ int PigZombie::getDeathSound()
return eSoundType_MOB_ZOMBIEPIG_DEATH;
}
/*
void PigZombie::dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel)
{
int count = random->nextInt(2 + playerBonusLevel);
@@ -156,16 +157,19 @@ void PigZombie::dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel)
spawnAtLocation(Item::gold_nugget_Id, 1);
}
}
*/
bool PigZombie::mobInteract(shared_ptr<Player> player)
{
return false;
}
/*
void PigZombie::dropRareDeathLoot(int rareLootLevel)
{
spawnAtLocation(Item::gold_ingot_Id, 1);
}
*/
int PigZombie::getDeathLoot()
{