ewt arkadaşlar qiderebilecek kişiler warsa msn [email protected]
✪ DeathKO ✪ | v.1098 MYKO | ASCEND | Rekor Ödül Havuzu | Büyük Academy : 06 Mart 2026 - HAZIR OL!
Kod:
CREATE PROCEDURE statduzelt
@oyunid varchar(21)
-- Bu procedure 4 Haziran tarihinde;
-- 77killer // MerT tarafından Ko-Cuce.Com için kodlanmıştır..
-- Script üzerinde değişiklik yapanın taa... :))
-- Son düzeltmeler için Gankss'a teşekkürler..
AS
Declare @lvl int, @point tinyint, @class int, @str int , @mp int, @hp int, @dex int
select @lvl = level, @point = points, @class = class, @str = Strong, @dex = Dex, @hp = Sta, @mp = Cha from userdata where StrUserID = @oyunid
--Warriorlar için..
IF ((@class = 106 or @class = 206) and @lvl >= 74 and @lvl <= 80 and @point >= 1 and @point <= 31 and @str < 71 and @hp < 71 and @Dex < 71 and @mp < 71)
Begin
Update Userdata Set Strong = Strong + @point + 1 , Points = 255 Where struserid = @oyunid
END
--Rogueler için..
IF ((@class = 108 or @class = 208) and @lvl >= 74 and @lvl <= 80 and @point >= 1 and @point <= 31 and @str < 71 and @hp < 71 and @Dex < 71 and @mp < 71)
Begin
Update Userdata Set Dex = Dex + @point + 1 , Points = 255 Where struserid = @oyunid
END
--Mageler için..
IF ((@class = 110 or @class = 210) and @lvl >= 74 and @lvl <= 80 and @point >= 1 and @point <= 31 and @str < 71 and @hp < 71 and @Dex < 71 and @mp < 71)
Begin
Update Userdata Set Cha = Cha + @point + 1 , Points = 255 Where struserid = @oyunid
END
--Priestler için..
IF ((@class = 112 or @class = 212) and @lvl >= 74 and @lvl <= 80 and @point >= 1 and @point <= 31 and @str < 71 and @hp < 71 and @Dex < 71 and @mp < 71)
Begin
Update Userdata Set Strong = Strong + @point + 1 , Points = 255 Where struserid = @oyunid
END
GO
SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame,
Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly
FROM USERDATA WHERE strUserId = @id
exec statduzelt @id