奇迹SF|奇迹私发网
1.03H全职自动3转SQL代码
文章作者:453mu私服自助发布网 文章来源:453mu私服自助发布网 更新时间:2022-1-21 8:57:18 
 

CREATE TRIGGER 新角色以职业自动转职触发器 ON Character
AFTER INSERT
AS
SET NOCOUNT ON
UPDATE Character SET Class=3
FROM Inserted
WHERE Inserted.Class=0 and Character.accountid=inserted.accountid
and Character.name=inserted.name




UPDATE Character SET Class=19
FROM Inserted
WHERE Inserted.Class=16 and Character.accountid=inserted.accountid
and Character.name=inserted.name
UPDATE Character SET Class=35
FROM Inserted
WHERE Inserted.Class=32 and Character.accountid=inserted.accountid
and Character.name=inserted.name
UPDATE Character SET Class=50
FROM Inserted
WHERE Inserted.Class=48 and Character.accountid=inserted.accountid
and Character.name=inserted.name
UPDATE Character SET Class=66
FROM Inserted
WHERE Inserted.Class=64 and Character.accountid=inserted.accountid
and Character.name=inserted.name
UPDATE Character SET Class=83
FROM Inserted
WHERE Inserted.Class=80 and Character.accountid=inserted.accountid
and Character.name=inserted.name
SET NOCOUNT OFF


 
浏览次数:1456
上一篇:整理-奇迹各类版本介绍-国内
下一篇:奇迹怪物代码
 
相关文章:1.03H全职自动3转SQL代码
文章评论
·555
·555
·555
·555
·555
·555
·555
·555
·555
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
表情:
验证码:点击我更换图片
最新文章
· 奇迹怪物代码
· 1.03H全职自动3转SQL代码
· 整理-奇迹各类版本介绍-国内
· 奇迹教程系列-item.txt与it
· 103各职业分开送点
· 【DATA】文件详细说明
· 服务器端口以及多区设置教程
· 奇迹物品代码表(2)
· 奇迹物品编号表(1)
· 卓越属性调用表
热门文章
· 删除数据库送点触发器
· 奇迹物品代码表(2)
· 服务器端口以及多区设置教程
· 卓越属性调用表
· 奇迹物品编号表(1)
· 整理-奇迹各类版本介绍-国内
· 奇迹MU客户端修改大全
· 奇迹教程系列-item.txt与it
· 奇迹起名特殊符号大全
· 【DATA】文件详细说明