红月私服新人上线F4装备栏赠送防御特教程


红月私服后台用查询分析器执行以下代码

CREATE TRIGGER [TRIGGER-redmoon8] ON [dbo].[tblGameID1] 
FOR INSERT 
AS 
BEGIN 
DECLARE @GAMEID CHAR(14),@Time datetime 
SELECT @GAMEID= GAMEID FROM INSERTED 
BEGIN 
insert into tblSpecialItem1 (ItemKind, ItemIndex, ItemDurability, Position, Map, X, Y, TileKind, GameID, WindowKind, WindowIndex, MiscTime, AttackGrade , StrengthGrade , SpiritGrade , DexterityGrade , PowerGrade ) values (6,8, 3, 1, 1, 1, 1, 1, @GameID, 2, 2, '2013-1-1 11:11:11',0,0,0,0,0)  
insert into tblSpecialItem1 (ItemKind, ItemIndex, ItemDurability, Position, Map, X, Y, TileKind, GameID, WindowKind, WindowIndex, MiscTime, AttackGrade , StrengthGrade , SpiritGrade , DexterityGrade , PowerGrade ) values (6,12, 3, 1, 1, 1, 1, 1, @GameID, 2, 3, '2013-1-1 11:11:11',0,0,0,0,0)  
END
END