Most visitors online was 12720 , on 2 May 2024
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Update [ChaInfo] set [ChaInfo].ChaReborn = inserted.ChaRebornTotal
From Inserted
Where [ChaInfo].UserNum = inserted.UserNum
and [ChaInfo].ChaName=inserted.ChaName
Update [ChaInfo] set [ChaInfo].ChaLevel=1,
[ChaInfo].ChaRebornTotal=inserted.ChaRebornTotal + 1, -- Reborn counter
[ChaInfo].ChaExp=0, -- Set Exp back to 0
[ChaInfo].ChaSaveMap = 2,
[ChaInfo].ChaSavePosX = 60,
[ChaInfo].ChaSavePosY = 8,
[ChaInfo].ChaMoney = [ChaInfo].ChaMoney - 1000000, -- Optional : Reborn cost 1m
[ChaInfo].ChaQuest = NULL -- Optional : Delete quest list (need restart all quests) after reborn
From Inserted
Where Inserted.ChaLevel >= 230 -- Level to reborn
and [ChaInfo].ChaReborn <= 3 -- Max Reborn number
and [ChaInfo].ChaName = inserted.ChaName
and [ChaInfo].UserNum = inserted.UserNum
and [ChaInfo].ChaBright >= 0 -- Optional : Require 0 or more attr for reborn
and [ChaInfo].ChaMoney >= 1000000
Thanks lucian0127 but my problem is my Top Reborn Counter reset to 0 when i creat new account on my ran cp how to fix this
ok bro use mine ^_^ i use this autoReborn it will not reset, i will bet ^_~
but skills and stats will not reset only the levels and skills, enjoy!
just add CharRebornTotal Column under ChaInfo Table