Merchant System and Guard Ability
I have added a Merchant System and Guard Ability to the game now. The player can now purchase and sell items. If they player tries to sell a weapon, shield, magic, or armor that is the only one left in their inventory – a warning message will appear letting them know if they sell it it will be unequipped and removed from inventory. This prevents the player from accidentally selling an item they have equipped.
The player will also have the option of buying any common weapons, shields, armors, or magics in the game. If they do not have enough money or if all their inventory is full the player is notified.
A guard option is now available in battle in case the players other commands are rendered useless. In example, if the player has no mana to cast a spell and their attackhas been rendered useless by a spell. The player can guard to boost their armor by 33% for that turn.




