amatt13/BossFight

"Sell()" is a method on PlayerWeapon.

Ouverte

#14 ouverte le 22 janv. 2023

 (0 commentaire) (0 réaction) (0 personne assignée)C# (1 fork)auto 404
Back Endgood first issue

Métriques du dépôt

Stars
 (1 étoile)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur