Pyrdacor / Ambermoon.net

Ambermoon rewrite in C#
GNU General Public License v3.0
416 stars 20 forks source link

[Bug report] INVENTORY: Defence display is changing when picking up items #375

Closed Retrokind closed 2 months ago

Retrokind commented 7 months ago

Describe the bug As soon as you pick up an item from the inventory or from the body parts the defence display changes back to +1. You need to close the inventory window or change to stats and back to inventory to see the recent value of your defence.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Inventory'
  2. Have an item on your body parts which gives you more defence
  3. Look at the defence value; it should be more than your standard +1
  4. Pick up an item from your inventory or from the body parts
  5. Look at the defence value again; it is now back to +1

The same happens if you wear no protection and put your first protection on, the number is still +1. You can't check the new value directly. You need to leave the inventory window and open it again or change to the stats screen and back to the inventory.

Expected behavior As soon as you change your protection the defence value should directly show the new defence value and the defence value should not be changed if you move your items.

Screenshots Defence01 Defence02

Desktop (please complete the following information):

Additional context

Pyrdacor commented 2 months ago

Should be fixed in 1.10