Вобщем вот:
UPDATE Character SET clevel= 1, Experience= 0, Money= Money-100000000, Strength = 18, Dexterity = 18, Vitality = 15, Energy = 30, MagicList = NULL, INVENTORY=Null, MapNumber= 0, MapPosX=125, MapPosY= 123, PkLevel= 3, Resets = Resets+1, LevelUpPoint = (350 * (Resets + 1)) FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id COLLATE Latin1_general_CI_AI WHERE ((class = 0) OR (class = 1)) and (clevel>399) and (Money > (99999999)) AND (pklevel < 4) and (ConnectStat = 0) UPDATE Character SET clevel= 1,Experience= 0, Money=Money-100000000, Strength = 28, Dexterity = 20, Vitality = 25, Energy = 10, MagicList = NULL, INVENTORY=Null, MapNumber= 0, MapPosX= 125, MapPosY= 123, PkLevel= 3, Resets = Resets+1, LevelUpPoint = (350 * (Resets + 1)) FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id COLLATE Latin1_general_CI_AI WHERE ((class = 16) OR (class = 17)) and (clevel>399) and (Money > (99999999)) AND (pklevel < 4) and (ConnectStat = 0) UPDATE Character SET clevel= 1, Experience= 0, Money=Money-100000000, Strength = 22, Dexterity = 25, Vitality = 20, Energy = 15, MagicList = NULL, INVENTORY=Null, MapNumber= 0, MapPosX= 125, MapPosY= 123, PkLevel= 3, Resets=Resets+1, LevelUpPoint = (350 * (Resets + 1)) FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id COLLATE Latin1_general_CI_AI WHERE ((class = 32) OR (class = 33)) and (clevel>399) and (Money > (99999999)) AND (pklevel < 4) and (ConnectStat = 0) UPDATE Character SET clevel= 1, Experience= 0, Money=Money-100000000, Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MapNumber=0, MagicList = NULL, INVENTORY=Null, MapPosX= 125, MapPosY= 123, PkLevel= 3, LevelUpPoint= (400* (Resets + 1)) FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id COLLATE Latin1_general_CI_AI WHERE (class = 48 ) and (clevel>400) and (Money > (99999999)) AND (pklevel < 4) and (ConnectStat = 0) UPDATE Character SET clevel= 1, Experience= 0, Money= Money-100000000, Strength = 26, Dexterity = 26, Vitality = 26, Energy = 26, MagicList = NULL, INVENTORY=Null, MapNumber= 0, MapPosX= 125, MapPosY= 123, PkLevel= 3, Resets = Resets+1, LevelUpPoint = (400 * (Resets + 1)) FROM Character JOIN MEMB_STAT ON Character.AccountID = MEMB_STAT.memb___id COLLATE Latin1_general_CI_AI WHERE (class = 64) and (clevel>399) and (Money > (99999999)) AND (pklevel < 4) and (ConnectStat = 0)
В полне рабочий скрипт сам его юзал)
1.Создаеш колонку не Reset а Resets
2.Все получают статы 350, МГ и ДЛ 400
3.Ресет с 400 лвл но можеш сменить (clevel>399) вот тут..
4.На рес нуно 100кк
Отредактировано BaRoNs (2007-05-12 05:01:39)