forked from NotAShelf/rogged
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:
parent
fdc0657237
commit
9cbbb9636f
5 changed files with 140 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue