- Reaction score
- 333
I'm trying to add an item to the stock of a marketplace. Here is the trigger:
Pretty simple, as you can see. The only problem is, when I BUY the Rod of Necromancy that I have added, instead of reducing the stock to 2, the item disappears completely. This happens with all items I have tested so far.
Does anyone know why?
Code:
Test
Events
Player - Player 1 (Red) types a chat message containing -test as An exact match
Conditions
Actions
Neutral Building - Add Rod of Necromancy to Marketplace 0041 <gen> with 3 in stock and a max stock of 4
Player - Set Player 1 (Red) Current gold to 750
Pretty simple, as you can see. The only problem is, when I BUY the Rod of Necromancy that I have added, instead of reducing the stock to 2, the item disappears completely. This happens with all items I have tested so far.
Does anyone know why?