21-08-2014, 04:20 PM
|
#6
|
|
• الانـتـسـاب » Jan 2013
|
• رقـم العـضـويـة » 109373
|
• المشـــاركـات » 2,821
|
• الـدولـة » الجيزه )))))))) kOMNDA (((((((((((
|
• الـهـوايـة » مساعده الاعضاء واحترام الاخرين
|
• اسـم الـسـيـرفـر » Private Server
|
• الـجـنـس » Male
|
• نقـاط التقييم » 51
|
|
|
ال state بس مش متأكد
كود:
if(@JobID = '45001')
begin
declare @Strength int
declare @Intellect int
declare @MaxLevel int
declare @RemainStatPoint int
select @MaxLevel = MaxLevel from _Char where CharID = @CharID
set @RemainStatPoint = (@MaxLevel*3)-3
set @MaxLevel = @MaxLevel+19
UPDATE _Char SET Strength=@MaxLevel, Intellect=@MaxLevel, RemainStatPoint=@RemainStatPoint WHERE CharID=@CharID
return -3
end
|
|
|