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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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