[Release] Comatose's Mastery scroll

03/23/2014 08:16 bestprem#1
(Create)

#Proc
PHP Code:
USE [SRO_VT_SHARD]
GO
/****** Object:  StoredProcedure [dbo].[_ADD_ITEM_SKILL]    Script Date: 03/23/2014 08:56:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/*##### By Kiro #####*/
/*##### By Kiro #####*/
create proc [dbo].[_ADD_SKILL_MASTERY]  /*##### By Kiro #####*/
@ChID  int,
@
id2    int
as
DECLARE @
USERJID int 
declare @CharID int
declare @NewUserID varchar
declare @ItemID    bigint 
declare @RefItemID int
declare @CharName varchar(max
DECLARE @
RefCharID INT
/*##### By Kiro #####*/                                        
/*##### By Kiro #####*/
        
declare @skilllvl  int 
        set 
@skilllvl '80'

     
if (@id2 1)
        
begin

        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 257  ) and CharID =  @CharID) --blade 
    end
/*##### By Kiro #####*/
    
    
    
else if (@id2 2)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 258  ) and CharID =  @CharID) --glaive 
    end
/*##### By Kiro #####*/
    
    
else if (@id2 3)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 259  ) and CharID =  @CharID) --bow 
    end
/*##### By Kiro #####*/
    
    
else if (@id2 4)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 273  ) and CharID =  @CharID) --force recovery 
    end
/*##### By Kiro #####*/
    
        
else if (@id2 5)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 274) and CharID =  @CharID) --force recovery 
    end
/*##### By Kiro #####*/
    
        
else if (@id2 6)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 275  ) and CharID =  @CharID) --force recovery 
    end
/*##### By Kiro #####*/
    
    
    
    
else if (@id2 7)
        
begin
        set 
@charname = (select CharName16  from _Char where CharID=@ChID)
        
SELECT @CharID CharID, @RefCharID RefObjID FROM [_CharWHERE CharName16 = @CharName
    update _CharSkillMastery set 
[Level] = @skilllvl where ((MasteryID 276  ) and CharID =  @CharID) --recovery 
    end
/*##### By Kiro #####*/
        
/*##### By Kiro #####*/
/*##### By Kiro #####*/
/*##### By Kiro #####*/ 
(Old proc)

#AddLogItem (ShardLog) Procedure
PHP Code:
IF (@Operation 41) -- skill scroll
        begin
          
IF (@ItemRefID 47374) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,1
        end
              
IF (@ItemRefID 47375) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,2
        end
                begin
          
IF (@ItemRefID 47376) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,3
                end
        end
                begin
          
IF (@ItemRefID 47377) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,4
                end
        end
                begin
          
IF (@ItemRefID 47378) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,5
                end
        end
          
IF (@ItemRefID 47379) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,6
                end
        end
          
IF (@ItemRefID 47380) -- ID ITEM
            begin
                exec SRO_VT_SHARD
.dbo._ADD_ITEM_SKILL @CharID,7
                end
        end

        end 

Notice Create scroll lines by ur self copy it from [Only registered and activated users can see links. Click Here To Register...]
03/23/2014 16:58 PortalDark#2
#Approved
03/23/2014 17:45 Justin1337*#3
thanks a lot bro.
03/24/2014 03:30 menamoners#4
thnx bro
03/24/2014 08:41 [NoReason]#5
kidding me ?!

Useless Scrolls Only Mastery Nothing else

i got my own Better 1000 time than this SHITTY One Mirror Sro BULL OF SHIT
03/24/2014 10:59 bestprem#6
Quote:
Originally Posted by [NoReason] View Post
kidding me ?!

Useless Scrolls Only Mastery Nothing else

i got my own Better 1000 time than this SHITTY One Mirror Sro BULL OF SHIT
useless 4 u -_-
03/24/2014 12:24 blackway33#7
Thank you Kero
03/24/2014 13:09 bestprem#8
Quote:
Originally Posted by blackway33 View Post
Thank you Kero
uw bro
03/24/2014 13:56 asanoftw#9
thanks for released.
03/24/2014 14:04 bestprem#10
Quote:
Originally Posted by asanoftw View Post
thanks for released.
wlc :)
03/24/2014 14:20 dangermetal#11
thanks for released.
03/24/2014 14:20 bestprem#12
Quote:
Originally Posted by dangermetal View Post
thanks for released.
wlc
03/24/2014 14:38 Xenethus1337#13
nice work there !
03/24/2014 15:52 Dallin¥#14
awesome ,thanks
03/24/2014 19:09 bestprem#15
Quote:
Originally Posted by Xenethus1337 View Post
nice work there !
ty :)

Quote:
Originally Posted by M̷r̷.̷X̷ View Post
awesome ,thanks
ty :D