Yonko Posted April 2, 2014 Share Posted April 2, 2014 how can i divert this earth strain of warlock into this kind of effect i will change its adjusting damage based on str and how will i change the strip effect into Chaos/Confusion Status? case WL_EARTHSTRAIN: { int i; const int pos[5] = { EQP_WEAPON, EQP_HELM, EQP_SHIELD, EQP_ARMOR, EQP_ACC }; for( i = 0; i < skill_lv; i++ ) skill_strip_equip(src,bl,pos[i],(5 + skill_lv) * skill_lv,skill_lv,skill_get_time2(skill_id,skill_lv)); } Quote Link to comment Share on other sites More sharing options...
Kichi Posted April 8, 2014 Share Posted April 8, 2014 skill.c change to: case WL_EARTHSTRAIN: { int rate = 0, i; rate = 6 * skill_lv + sstatus->dex / 10 + (sd? sd->status.job_level / 4 : 0) - tstatus->dex /5;// The tstatus->dex / 5 part is unofficial, but players gotta have some kind of way to have resistance. [Rytech] //rate -= rate * tstatus->dex / 200; // Disabled until official resistance is found. sc_start(src,bl,SC_CURSE,rate,skill_lv,skill_get_time(skill_id,skill_lv)); sc_start(src,bl,SC_STUN,rate,skill_lv,skill_get_time(skill_id,skill_lv)); } break; skill.txtchange to: 2213,11,8,2,0,0x2,7,5,-20,yes,0,0,0,weapon,2,0x400, WL_COMET,Comet 1 Quote Link to comment Share on other sites More sharing options...
Yonko Posted May 1, 2014 Author Share Posted May 1, 2014 skill.c change to: case WL_EARTHSTRAIN: { int rate = 0, i; rate = 6 * skill_lv + sstatus->dex / 10 + (sd? sd->status.job_level / 4 : 0) - tstatus->dex /5;// The tstatus->dex / 5 part is unofficial, but players gotta have some kind of way to have resistance. [Rytech] //rate -= rate * tstatus->dex / 200; // Disabled until official resistance is found. sc_start(src,bl,SC_CURSE,rate,skill_lv,skill_get_time(skill_id,skill_lv)); sc_start(src,bl,SC_STUN,rate,skill_lv,skill_get_time(skill_id,skill_lv)); } break; skill.txt change to: 2213,11,8,2,0,0x2,7,5,-20,yes,0,0,0,weapon,2,0x400, WL_COMET,Comet thanks btw the skill.txt is about the COMET lol Quote Link to comment Share on other sites More sharing options...
Kichi Posted May 2, 2014 Share Posted May 2, 2014 oh yeah sorry, but same method, change MAGIC to WEAPON 1 Quote Link to comment Share on other sites More sharing options...
how can i divert this earth strain of warlock into this kind of effect i will change its adjusting damage based on str and how will i change the strip effect into Chaos/Confusion Status?
Link to comment
Share on other sites