forgottenserver icon indicating copy to clipboard operation
forgottenserver copied to clipboard

create_item.lua incorrect charges for amulets/weapons

Open EPuncker opened this issue 3 years ago • 0 comments

Before creating an issue, please ensure:

  • [x] This is a bug in the software that resides in this repository, and not a support matter (use https://otland.net/forums/support.16/ for support)
  • [x] This issue is reproducible without changes to the C++ code in this repository

Steps to reproduce (include any configuration/script required to reproduce)

  1. /i strange talisman, 200

Expected behaviour

strange talisman is created with 200 charges

Actual behaviour

strange talisman is created with 100 charges

Environment

create item talkaction seems to not have a handling for items with charges that are not stackable

Possible fix?

2022-06-08 12_00_57-GitHub Desktop

EPuncker avatar Jun 08 '22 17:06 EPuncker