amatt13/BossFight

"Sell()" is a method on PlayerWeapon.

開放

#14 建立於 2023年1月22日

 (0 則留言) (0 個反應) (0 位負責人)C# (1 個分叉)auto 404
Back Endgood first issue

倉庫指標

星標
 (1 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南