Merchant script help

Play Now

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Hey guys. yesterday i was checking how to script the merchants ... when i was checking the existing merchants script i saw this:
(@sell @buy)
%80
+3
+4
For what are that numbers? (writen bold)
Thanks



Edit: Another question
; ===================================
; Market Def NPC File : 3tlr-0
; (BichonProvince)
; -----------------------------------
; Name: Taylor
; Job:
; Map No: 0
; Pos X 358
; Pos Y 284
; File name: *removed*
; Comment: (BichonProvince)

;================================================= =
;

Is it really necesary for the npc to work to pus the ------- , ; , name job? without this things the npc will not work or?
 
Last edited:

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
the numbers indicate what std code of the item is that the npc buys or sells etc so if you add +5 to it it will sell swords etc. it isn't necersary to have the

; ===================================
; Market Def NPC File : 3tlr-0
; (BichonProvince)
; -----------------------------------
; Name: Taylor
; Job:
; Map No: 0
; Pos X 358
; Pos Y 284
; File name: *removed*
; Comment: (BichonProvince)

;================================================= =
;
 
Upvote 0

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
Not 100 percent sure but the % is something to do with pricing, if you lower it for example you can give the npc a discount, like sabuk wall npc work for guild members, that works for everyone, i think :001_unsure:
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Not 100 percent sure but the % is something to do with pricing, if you lower it for example you can give the npc a discount, like sabuk wall npc work for guild members, that works for everyone, i think :001_unsure:

correct, its best set to 100%, and set it to 200% for special repair or something.
 
Upvote 0