amatt13/BossFight

"Sell()" is a method on PlayerWeapon.

Open

#14 opened on Jan 22, 2023

 (0 comments) (0 reactions) (0 assignees)C# (1 fork)auto 404
Back Endgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

This should be moved to the ShopController or mayby a new buy/sell class. The function should be made general such that any item can be sold trough it.

We should also make sure that the player dosen't receive gold if the method fails. Likewise the player<->item relation should not be delted if the method fails.

Contributor guide