otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.59k stars 1.06k forks source link

WeaponType revscript register multiple IDs #4075

Closed C-aptC-arl closed 7 months ago

C-aptC-arl commented 2 years ago

From the documentation: https://github.com/otland/forgottenserver/wiki/Revscriptsys#weaponweapon_type

It doesn't appear that the documentation suggests that multiple IDs can be registered to 1 revscript, however, this does appear to be available on other revscript types.

Additionally, in case this is simply a documentation error and it is expected for multiple IDs to work within a weaponType revscript, then this should be considered a bug (as I have tested this numerous times to confirm that only the first ID within weapon:id(id1, id2, id3...) is used)

Thanks in advance for your consideration.

Codinablack commented 7 months ago

onUseWeapon only supports registering one id.

Please close.