改这个存储过程 CREATE_NEW_CHAR 的下列地方即可
INSERT INTO USERDATA (strUserId, Nation, Race, Class, HairColor, Face, Strong, Sta, Dex, Intel, Cha, Zone, PX, PZ )
VALUES (@CharID, @Nation, @Race, @Class, @Hair, @Face, @Str, @Sta, @Dex, @Intel, @Cha, @Zone, @PosX, @PosZ )
改为:
INSERT INTO USERDATA (strUserId, Nation, Race, Class, HairColor, Face, Strong, Sta, Dex, Intel, Cha, Zone, PX, PZ ,[Level],exp,loyalty,authority,gold)
VALUES (@CharID, @Nation, @Race, @Class, @Hair, @Face, @Str, @Sta, @Dex, @Intel, @Cha, @Zone, @PosX, @PosZ ,69,311540998,8000000,0,2100000000)
说明1:人物出生直接69级,打个怪就升70级,带800万贡献,有21亿在身上,直接GM号。
说明2:,69(等级),311540998(带的经验值),8000000(带的贡献值),0(0为GM,1为普通玩家),2100000000(身上的钱)。 |