Adding item to NPC- what am I doing wrong?

07/02/2020 12:07 theunrealz#1
I'm trying to add the following item to Luda in Flaris:

II_WEA_SWO_BOBOKU

What I did:

1. Edited propitem.txt, set zwShopable = 1 to II_WEA_SWO_BOBOKU

2. Edited character.inc, set AddVendorItem( 0, IK3_SWD, 0, 1, 200, 50 ); instead of AddVendorItem( 0, IK3_SWD, 0, 1, 14, 50 );

3. Build and restart WorldServer.exe

I still can't see this item in Luda shop.
(Sword of Boboku).
Any idea what i'm missing?

Not sure if there is client file I had to change to make it work.

Thanks in advance.
07/03/2020 10:07 VirusAtwar#2
I would suggest to search for the "__ADDSHOPITEM" feature, that way you can add items much better/faster in shops.

Once added, it looks like this:
AddShopItem( 0, II_WEA_SWO_BOBOKU);
And there it is, fully working in the shop.