amatt13/BossFight

"Sell()" is a method on PlayerWeapon.

Aperta

#14 aperta il 22 gen 2023

 (0 commenti) (0 reazioni) (0 assegnatari)C# (1 fork)auto 404
Back Endgood first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor