• 0
nattapol

Request combine skill LV

Question

Hello every one 
i want to combine skill lv from item 

For example 
if i use 2 Sidewinder Cards skill level of Double attack should to be Level 2. 
and another skills too 
Thank alot .
.............
sorry my english is bad

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 1

try 

4117,Side_Winder_Card,Sidewinder Card,6,20,,10,,,,,,,,2,,,,,{ addtoskill "TF_DOUBLE",1,2; bonus bDoubleRate,5; },{},{}

 

  • Love 1

Share this post


Link to post
Share on other sites
  • 1
Posted (edited)

try

item script:

{},{ char_variable++; },{ char_variable--; }

and npc script:

-    script something    -1,{
OnPCStatCalcEvent:
    if(isequipped(<itemid>)){
        skill <"skill name">,char_variable;
    }
end;
}

 

this might work without npc

{ skill <"skill name">,char_variable; },{ char_variable++; },{ char_variable--; }

Edited by sader1992
  • Love 1

Share this post


Link to post
Share on other sites
  • 0
{ if (isequipped(4117)) { skill "TF_DOUBLE",2; bonus bDoubleRate,5; } }

that?

  • Love 1

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

item_combo_db.txt:

 

Item_ID1:Item_ID2,{ bonus2 bSkillAtk,"SKILL_NAME_ID",100; }


Example:

4117:4117,{ bonus2 bSkillAtk,"AC_DOUBLE",100; }

 

Edited by Kakaroto
  • Love 1

Share this post


Link to post
Share on other sites
  • 0
On 5/4/2019 at 1:58 AM, Gladius said:
{ if (isequipped(4117)) { skill "TF_DOUBLE",2; bonus bDoubleRate,5; } }

that?

thk sir and itry this but not work 

 

On 5/4/2019 at 5:36 AM, sader1992 said:

try

item script:

{},{ char_variable++; },{ char_variable--; }

and npc script:

-    script something    -1,{
OnPCStatCalcEvent:
    if(isequipped(<itemid>)){
        skill <"skill name">,char_variable;
    }
end;
}

 

this might work without npc

{ skill <"skill name">,char_variable; },{ char_variable++; },{ char_variable--; }

wow that script work!!! Thx sir  
but when i use 3 SidewinderCards  Double attack still Lv2 ???(shuould to Lv3?)

skill2.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...