item 表里有个 sellinggroup
k_npc 表里有个 iSellingGroup
比如:
update k_npc set iSellingGroup=235005 where sSid=22104
update item set sellinggroup=235 where num in ('111110005','156110005','168310005','181010005')
就让NPC为22104 的卖 下面 +5的东东了。 235是前面
你试试,不一定正确,正确了再稿述我。呵呵。 |