Jump to content
  • 0
Yonko

Help with Earthstrain

Question

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));
}

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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
  • Upvote 1
Link to comment
Share on other sites

 

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

Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.