Reins 3 Posted November 21, 2013 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 thisLevel 1 = 1%Level 2 = 2%Level 3 = 3%Level 4 = 4% Level 5 = 5%thnx Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted November 21, 2013 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 1 Reins reacted to this Quote Share this post Link to post Share on other sites
0 Reins 3 Posted November 22, 2013 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? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted November 22, 2013 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' 1 Reins reacted to this Quote Share this post Link to post Share on other sites
0 Reins 3 Posted November 22, 2013 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 ! Quote Share this post Link to post Share on other sites
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