Snaacky / dndserver

Dark and Darker private server implementation written in Python
The Unlicense
264 stars 60 forks source link

Swapping gear in normal stash is now working #210

Closed Bakk-f4 closed 1 year ago

Bakk-f4 commented 1 year ago

This should resolve the problem when you try to swap gear in the normal stash.

Previously, when you tried to swap items, one of the two was covered by the other or vice versa.

To test this problem just add an equipment to the character creation and try to swap them Example: items.generate_item(ItemEnum.CLOTHPANTS, ItemType.ARMORS, Rarity.UNIQUE, 4, 6, 1) inside handlers/character.py

Bakk-f4 commented 1 year ago

Before changes:

https://github.com/Snaacky/dndserver/assets/74472777/b3cd5bee-ebc2-48a2-aadb-7abb1cb6a462

After changes:

https://github.com/Snaacky/dndserver/assets/74472777/f6570411-cc1b-4ef5-82ca-7eaac0665a3a