NPC Shop: Items dont show up

06/07/2016 00:30 Capt. Jack#1
Hi,
I want to edit the MaFl_Boboko NPC.
He should sell all Armor from lvl 70 to 120.
So I edited the entries like the following:
character.inc:

However, he does'nt want to sell anything higher than lvl 83.
For example the Remingster Suit. But I turned all 105er Sets to dwShopAble = 1:
Spec_Item.txt:

I also do not understand dwItemRare. It's default is 25 but sth. like Hanel Suit has a rarity of 74 and is buyable in the Shop.
06/07/2016 00:42 Nortix#2
That's because AddVendorItem takes the range of dwItemRare. So change the rarity of all items, if you do not have any source knowledge.
06/07/2016 00:54 Capt. Jack#3
Quote:
Originally Posted by Nortix View Post
That's because AddVendorItem takes the range of dwItemRare. So change the rarity of all items, if you do not have any source knowledge.
Can you explain how the range of dwItemRare works?

In what way do i have to change the dwItemRare?
I tested it with a dwItemRare of 1 but that did not work.
06/07/2016 12:45 Nortix#4
AddVendorItem( 0, IK3_HELMET, 6, 70, 120, 25 );

Adds all Helmets for Blades with a dwItemRare >= 70 and dwItemRare <=120 and dwShopAble 1.

So change all your Items to have a dwItemRare between 70 and 120 or change the range of AddVendorItem.