• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Different items to a special amount

Tarielle

New Member
Joined
Nov 4, 2007
Messages
214
Reaction score
0
Location
Sweden
Hi, let us say that there is a npc that want to sell you a fire sword for 100 kind of vials, like it does not matter what kind of vial you give to him, just that it will be 100 at the total amount like: 20 great vials and 80 normal vials or 40 normal and 60 great ones.
Like the lottery system in real tibia. That npc wants 100 vials what ever kind.

How can I make that the npc can take that? Like the money system...
I know its hard to understand what I am requesting.

Like: item = id of fire sword + id of fire axe
and then "doPlayerTakeItem(cid,item,100)" or something
 
Last edited:

Similar threads

  • Question Question
Replies
14
Views
674
Back
Top