N nikki1200 New member Messages 113 Points 0 Oct 30, 2013 #2 Hi All, Seeking for your assistance on why the strip effect of earth strain is 100%. I don't want it to be 100%/ Please advise, Thanks,
Hi All, Seeking for your assistance on why the strip effect of earth strain is 100%. I don't want it to be 100%/ Please advise, Thanks,
malufett Retired Staff Messages 657 Points 0 Location Philippines Github malufett Emulator Oct 30, 2013 #3 Earthstrain's stripping chance is based on caster's level and dex so the formula : [6 * skill lv + (base level/4) + (dex/10)]% so having base level of 175 and dex of 120 and skill lv 5 will give you a 85% chance of striping..if you want to modify the chance modify this code.. @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;
Earthstrain's stripping chance is based on caster's level and dex so the formula : [6 * skill lv + (base level/4) + (dex/10)]% so having base level of 175 and dex of 120 and skill lv 5 will give you a 85% chance of striping..if you want to modify the chance modify this code.. @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;
N nikki1200 New member Messages 113 Points 0 Nov 2, 2013 #4 Hi Sir, I tried 1 all stats but it's the same it' always 100% strip T_T