Jump to content
  • 0
Sign in to follow this  
GM.PiXeL

Tarot Card Failures

Question

2 answers to this question

Recommended Posts

  • 0

Look at this line in skill.c

 

if( rnd() % 100 > skill_lv * 8 || (dstmd && ((dstmd->guardian_data && dstmd->class_ == MOBID_EMPERIUM) || mob_is_battleground(dstmd))) )

 

There the fail chance is being evaluated, in this case a percent chance of skill_lv*8 and a random. Change it to your needs :)

Share this post


Link to post
Share on other sites
  • 0

Just as a note, once you make a change to your source code you will need to recompile your server. Making a backup before changing any source or recompiling is highly recommended. Here is the Wiki Entry on Compiling:  http://herc.ws/wiki/Compiling

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.