Jump to content
  • 0
Sign in to follow this  
nikki1200

How to Modify Skill Effect

Question

Hi All,

 

Seeking for your assistance on how to modify the skill effect of the character. i don't have any idea. and do i need to recompile after changing the effect?

 

Please advise,

 

Thanks,

 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hint. its on your db folder. search for const.txt for effects, and if you are using renewal search re/skill_db.txt 

 

and you dont need to recompile, just restart your server.

 

NOTE: Recompile only required if you modify/update your src files.

Share this post


Link to post
Share on other sites
  • 0

But Sir my problem is the poison of GX like Oblivion Poison is almost 100% chance. i don't know how to fix it. i can't find it on skills db and i already check it on items db and sql-files. but still it's 90-100% effect chance. do you have any idea on how to fix this? i want to reduce the chance of this poison.

 

Please advise,

 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Please see below my item_db

 

12719,Poison_Oblivion,Oblivion Curse,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(rand(10000) < 10) sc_start SC_OBLIVIONCURSE,300000,0; },{},{}

 

I 2ble check it on  sql-files it;s the same.

 

The problem it's the poison is 100% change., can you help me in this one?

 

Please advise,

 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Change :

12719,Poison_Oblivion,Oblivion Curse,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ if(rand(10000) < 10) sc_start SC_OBLIVIONCURSE,300000,0; },{},{}

to: 

12719,Poison_Oblivion,Oblivion Curse,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_OBLIVIONCURSE,300000,0; },{},{}

Share this post


Link to post
Share on other sites
  • 0
 
 
 
it's the same i got 100% chance. i don't want it 100%. all i want is to reduce the effect into at least 20% chance.
 
i checked my status.c and and i saw this formula. maybe there's something wrong on this formula(please see below)
 
case SC_OBLIVIONCURSE: // 100% - (100 - 0.8 x INT)
        sc_def = 100 - ( 100 - status->int_* 8 / 10 );
//        sc_def = max(sc_def, 5); // minimum of 5%
        sc_def = max(sc_def, 1); // minimum of 1%
        break;
 
please advise,
 
THanks,

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.   Restore formatting

  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...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.