Hi, how to set npc selling items on fortress war tax system ?
Credits obviously to NefetisQuote:
Yea.That's Easy
@EDIT
1. Atleast a little explaination of fortress war "tax" system , because i'd want to switch bandit's tax to downhang.
1. Open SQL Management up
2. Go to _RefObjCommon and then find the NPC that you want to add the tax to(in that case the Donhwang NPCs got the ID of 2051 - 2071) we go do AssocFile1_128 and there we change the values:
[Only registered and activated users can see links. Click Here To Register...]
To make the JG Fortress tax: FORTRESS_JANGAN
To make the JG Bandit fortress tax: FORTRESS_BIJEOKDAN
To make the HT Fortress tax: FORTRESS_HOTAN
In our case we change the FORTRESS_DOWNHANG to FORTRESS_BIJEOKDAN
[Only registered and activated users can see links. Click Here To Register...]
And if we want to add a tax to another npc from other city we just change the value in row AssocFile1_128 to some other values listed above.
Next thing you have to do is in Media/server_dep/silkroad/characterdata_xxx.txt we change the values just as we did in _RefObjCommon
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]