Jump to content
  • 0

Help with Earthstrain


Question

Posted

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

 

3 answers to this question

Recommended Posts

Posted

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
Posted

 

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...