Jump to content
  • 0
Sign in to follow this  
Reins

Need Support with Earth Strain

Question

How to make lower chance of strip of Earth Strain from Level 1: 6%, Level 2: 14% Level 3: 24% Level 4: 36% and Level 5: 50% to be like this


Level 1 = 1%
Level 2 = 2%
Level 3 = 3%
Level 4 = 4%

Level 5 = 5%

thnx

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
skill.c
 
  case WL_EARTHSTRAIN:
 {
   // lv 1 & 2 = Strip Helm, lv 3 = Strip Armor, lv 4 = Strip Weapon and lv 5 = Strip Accessory. [malufett]
   const int pos[5] = { EQP_HELM, EQP_HELM, EQP_ARMOR, EQP_WEAPON, EQP_ACC };
   skill->strip_equip(bl, pos[skill_lv-1], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10,
   skill_lv, skill->get_time2(skill_id,skill_lv));
 }
 break;
 
 
 
6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 --->rate
 
change to
 
skill_lv
 

Share this post


Link to post
Share on other sites
  • 0

 

skill.c
 
  case WL_EARTHSTRAIN:

 {

   // lv 1 & 2 = Strip Helm, lv 3 = Strip Armor, lv 4 = Strip Weapon and lv 5 = Strip Accessory. [malufett]

   const int pos[5] = { EQP_HELM, EQP_HELM, EQP_ARMOR, EQP_WEAPON, EQP_ACC };

   skill->strip_equip(bl, pos[skill_lv-1], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10,

   skill_lv, skill->get_time2(skill_id,skill_lv));

 }

 break;

 
 
 
6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 --->rate
 
change to
 
skill_lv

 

 

so you mean the 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10

 

 

i will change it to 1?

Share this post


Link to post
Share on other sites
  • 0

 

 

skill.c
 
  case WL_EARTHSTRAIN:

 {

   // lv 1 & 2 = Strip Helm, lv 3 = Strip Armor, lv 4 = Strip Weapon and lv 5 = Strip Accessory. [malufett]

   const int pos[5] = { EQP_HELM, EQP_HELM, EQP_ARMOR, EQP_WEAPON, EQP_ACC };

   skill->strip_equip(bl, pos[skill_lv-1], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10,

   skill_lv, skill->get_time2(skill_id,skill_lv));

 }

 break;

 
 
 
6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 --->rate
 
change to
 
skill_lv

 

 

so you mean the 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10

 

 

i will change it to 1?

 

 Obviously,I did tell you 'skill_lv'   -_-

Share this post


Link to post
Share on other sites
  • 0

 

 

 

skill.c
 
  case WL_EARTHSTRAIN:

 {

   // lv 1 & 2 = Strip Helm, lv 3 = Strip Armor, lv 4 = Strip Weapon and lv 5 = Strip Accessory. [malufett]

   const int pos[5] = { EQP_HELM, EQP_HELM, EQP_ARMOR, EQP_WEAPON, EQP_ACC };

   skill->strip_equip(bl, pos[skill_lv-1], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10,

   skill_lv, skill->get_time2(skill_id,skill_lv));

 }

 break;

 
 
 
6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10 --->rate
 
change to
 
skill_lv

 

 

so you mean the 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10

 

 

i will change it to 1?

 

 Obviously,I did tell you 'skill_lv'   -_-

ohh sorry i not merely familiar to source but 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.