الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم المواضيع المكررة و المخالفة (https://silkroad4arab.com/vb/forumdisplay.php?f=58)
-   -   Skill Reset (https://silkroad4arab.com/vb/showthread.php?t=569639)

Hero xD 15-10-2014 02:34 PM

Skill Reset
 
انا كنت عامل موضوع عايز اعرف ازاي اضيف ال Skill & Stat Reset Scroll و المشرف قفل الموضوع و قالي دور عليهم في قسم الشروحات وانا دورت في القسم كله و ملقتش حاجه يا ريت لو حد يجيبلي لينك :)

pop2009 16-10-2014 01:50 AM

اتفضل
Reset Skill scroll
كود PHP:

ITEMDATA_45000
1    91682    ITEM_AZM0S_RESETSKILLS    ???? ????    xxx    SN_ITEM_AZM0S_RESETSKILLS    SN_ITEM_AZM0S_RESETSKILLS_TT_DESC    0    0    3    3    13    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    0    0    0    0    0    1    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_mall_scroll.bsr    item\etc\mall_skill_point_recall_a.ddj    xxx    xxx    1    2    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    SKILL_AZM0S_RESETSKILLS    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0 
Skilldata_3500enc 
1    90020    2125    SKILL_AZM0S_RESETSKILLS    
???? ????    SKILL_AZM0S_RESETSKILLS    0    1    1    0    0    0    0    0    1000    0    0    0    3599    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    3    0    0    255    255    0    0    0    0    0    255    255    255    255    item\etc\mall_dungeon_free_ticket_forgotten_world.ddj    SN_ITEM_AZM0S_RESETSKILLS    xxx    SN_ITEM_AZM0S_RESETSKILLS_TT_DESC    xxx    0    0    3    1667396966    1851946342    1685418593    6000    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0 
SkillEffect

1    ??? ???    SKILL_AZM0S_RESETSKILLS    0    FALSE    0    DEFAULT    none    none    none    none    none    none    none    none    0    0,0,0,0    ONE    none    none    none    none    none    none    none    0    1     
??? ???    SKILL_AZM0S_RESETSKILLS    ACT_S    0    FALSE    none    none    0    0    0    0    1    0,0    AT_LOOP    MOV_NONE,0,0,0    0,0,0    false,0,0,0,0,false    system\    item_returnscroll.efp    none    0,0,0    none    0,0,0    none    0    none    none    none     
Textdata_Object

1    SN_ITEM_AZM0S_RESETSKILLS                                Skills reset scroll 
---------------------- 
database Line
refObjCommon
1    91682    ITEM_AZM0S_RESETSKILLS    ???? ????    xxx    SN_ITEM_AZM0S_RESETSKILLS    SN_ITEM_AZM0S_RESETSKILLS_TT_DESC    0    0    3    3    13    1    180000    3    0    1    1    1    255    3    1    0    0    1    0    0    0    0    0    0    1    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_ch_eventbox.bsr    item\etc\mall_skill_point_recall_a.ddj    xxx    xxx    91682 
RefObjItem

21485    1    2    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    SKILL_AZM0S_RESETSKILLS    -1    xxx                                                                                                                                  -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0    0 
RefSkill

1    33915    1029    SKILL_AZM0S_RESETSKILLS    ???? ????    SKILL_AZM0S_RESETSKILLS    0    1    1    0    0    0    0    0    1000    0    0    0    3599    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    3    0    0    255    255    0    0    0    0    0    255    255    255    255    item\etc\mall_dungeon_free_ticket_forgotten_world.ddj    SN_ITEM_AZM0S_RESETSKILLS    xxx    SN_ITEM_AZM0S_RESETSKILLS_TT_DESC    xxx    0    0    3    1667396966    1851946342    1685418593    6000    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0 
SkillGroup

1029    SKILL_AZM0S_RESETSKILLS 
--------------------------------- 
Produce
if(@
JobID'90020') -- remove skills 
        begin 
            
declare @TotalSP int 
            
declare @TotalSPMastery int 
            SELECT 
@TotalSP SUM(_RefSkill.ReqLearn_SPFROM _RefSkill_CharSkill WHERE _RefSkill.ID=_CharSkill.SkillID AND _CharSkill.CharID=@CharID AND _RefSkill.ReqCommon_MasteryLevel1 <= '130' 
            
SELECT @TotalSPMastery SUM(_RefLevel.Exp_MFROM _CharSkillMastery_RefLevel WHERE _RefLevel.Lvl=_CharSkillMastery.Level AND _CharSkillMastery.CharID=@CharID AND _CharSkillMastery.Level <= '130' 
            
UPDATE _Char SET RemainSkillPoint=RemainSkillPoint+@TotalSP+@TotalSPMastery+200000 WHERE CharID=@CharID 
            DELETE _CharSkill FROM _RefSkill
_CharSkill WHERE _RefSkill.ID=_CharSkill.SkillID AND _CharSkill.CharID=@CharID AND _RefSkill.ReqCommon_MasteryLevel1 <= '130' AND _RefSkill.ID NOT IN (1,70,40,2,8421,9354,9355,11162,9944,8419,8420,11526,10625
            
UPDATE _CharSkillMastery SET Level='0' WHERE CharID=@CharID AND Level <= '130' 
        
end 

Stat Reset Scroll
كود PHP:

RefObjCommon:
1    70001    ITEM_MALL_STATS_POINT_RECALL_A_KARA    ???? ???? ??? (???)    xxx    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA_TT_DESC    1    0    3    3    13    14    180000    3    0    1    1    1    255    0    1    0    0    129    0    0    0    0    0    0    0    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_mall_scroll.bsr    item\etc\mall_stats_point_recall_81lv.ddj    xxx    xxx    70001
RefObjItem
:
70001    1    2    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1000    ????(?)    1    [USU1:SKILL_MALL_STATS_POINT_RECALL_A_KARA]                                                                                                         -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0    0
RefSkill
:
1    45001    1201    SKILL_MALL_STATS_POINT_RECALL_A_KARA    ???? ????    SKILL_MALL_STATS_POINT_RECALL_A_KARA    0    1    1    0    0    0    0    0    1000    0    0    0    3599    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    3    0    0    255    255    0    0    0    0    0    255    255    255    255    item\etc\mall_stats_point_recall_81lv.ddj    SN_ITEM__MALL_STATS_POINT_RECALL_A    xxx    SN_ITEM_MALL_STATS_POINT_RECALL_A_TT_DESC    xxx    0    0    3    1667396966    1851946342    1685418593    1500    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
SkillGroup
:
1201    SKILL_MALL_STATS_POINT_RECALL_A_KARA
--------------------
Media Side:
Itemdata_45000:
1    42858    ITEM_MALL_STATS_POINT_RECALL_A_KARA    ???? ???? ??? (???)    xxx    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA_TT_DESC    1    0    3    3    13    14    180000    3    0    1    1    1    255    0    1    0    0    129    0    0    0    0    0    0    0    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_mall_scroll.bsr    item\etc\mall_stats_point_recall_81lv.ddj    xxx    xxx    1    2    0    0    1    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0    0    0    0    0    0    0    0    0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    0.0    1000    ????(?)    1    [USU1:SKILL_MALL_STATS_POINT_RECALL_A_KARA]    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0
Skilldata_35000enc
:
1    33916    1201    SKILL_MALL_STATS_POINT_RECALL_A_KARA    ???? ????    SKILL_MALL_STATS_POINT_RECALL_A_KARA    0    1    1    0    0    0    0    0    1000    0    0    0    3599    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    3    0    0    255    255    0    0    0    0    0    255    255    255    255    item\etc\mall_stats_point_recall_81lv.ddj    SN_ITEM__MALL_STATS_POINT_RECALL_A    xxx    SN_ITEM_MALL_STATS_POINT_RECALL_A_TT_DESC    xxx    0    0    3    1667396966    1851946342    1685418593    1500    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
SkillEffect
:
1    ê·€ي™کى„œ ى‚¬ىڑ©ى*„    SKILL_MALL_STATS_POINT_RECALL_A_KARA    0    FALSE    0    DEFAULT    none    none    none    none    none    none    none    none    0    0,0,0,0    ONE    none    none    none    none    none    none    none    0    1    
ê·€ي™کى„œ ى‚¬ىڑ©ى
*„    SKILL_MALL_STATS_POINT_RECALL_A_KARA    ACT_S    0    FALSE    none    none    0    0    0    0    1    0,0    AT_LOOP    MOV_NONE,0,0,0    0,0,0    false,0,0,0,0,false    system\    item_returnscroll.efp    none    0,0,0    none    0,0,0    none    0    none    none    none    
Textdata_Object
:
1    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA                                Resets stats                            
1    SN_ITEM_MALL_STATS_POINT_RECALL_A_KARA_TT_DESC                                Restore all stat points fixed by KaRa                            
Produce
:
    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)-
            set 
@MaxLevel = @MaxLevel+19 
            UPDATE _Char SET Strength
=@MaxLevelIntellect=@MaxLevelRemainStatPoint=@RemainStatPoint WHERE CharID=@CharID 
            
return -
        end 


Hero 07-11-2014 08:25 AM

يغلق لعدم الاهتمام


الساعة الآن 04:10 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.