combat: add hit chance & damage variance to make combat more engaging

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia1e0a503dba03e5df7b863b97db962e36a6a6964
This commit is contained in:
raf 2026-04-03 15:44:57 +03:00
commit 9cbbb9636f
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 140 additions and 28 deletions

View file

@ -33,4 +33,7 @@ void player_remove_inventory_item(Player *p, int index);
// Equip weapon/armor from inventory, return 1 if successful
int player_equip_item(Player *p, int inv_index);
// Drop item from inventory at index (returns it to floor), return 1 if successful
int player_drop_item(Player *p, int inv_index, Item *items, int item_count);
#endif // PLAYER_H