DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
639 stars 172 forks source link

BUG: server does not accurately track skill references for added skills #1557

Open EmosewaMC opened 4 months ago

EmosewaMC commented 4 months ago

Make sure you've done the following:

DarkflameServer Version

All

Issue Description

currently the server allows the same skill to be equipped in two different slots when in live how this would work is the skill would only be in the first slot that it was equipped to, and then if all items that used that skill were unequipped, or if an equipping item overrides the original skills slot, the other slot would assume the skill.

Reproduction Steps

equip these two items https://explorer.lu-dev.net/objects/13582 Mole Whacker (via subitem 13934 Molewhacker Left Hand Proxy) https://explorer.lu-dev.net/objects/5995 Speedy Cap observe that unequipping the items removes the skill from the wrong slot instead of keeping it there or moving it if another items takes over that slot.

Expected Behavior

2 items with the same skill:

Environment

日本人