Jump to content
  • 0

Illusion Death always coma


Question

Posted

Hi, I change the Max Lvl for Oboro to 175. And I have a problem with Illusion-Death, because cause always coma (Max Lvl cause this because all Players are same or lower base lvl). Thats one problem, the second. SC_COMA bypass GTB Card (Only in this skill, other work fine Coma Tarot not bypass...),

I think it is because the SRC of skill Use this:


	case KO_JYUSATSU:
		if( dstsd && tsc && !tsc->data[type] &&
			rnd()%100 < ((45+5*skill_lv) + skill_lv*5 - status_get_int(bl)/2) ){//[(Base chance of success) + (Skill Level x 5) - (int / 2)]%.
			clif_skill_nodamage(src,bl,skill_id,skill_lv,
				status_change_start(src,bl,type,10000,skill_lv,0,0,0,skill_get_time(skill_id,skill_lv),SCSTART_NOAVOID|SCSTART_NOTICKDEF));
			status_percent_damage(src, bl, tstatus->hp * skill_lv * 5, 0, false); // Does not kill the target.
			if( status_get_lv(bl) <= status_get_lv(src) )
				status_change_start(src,bl,SC_COMA,10,skill_lv,0,src->id,0,0,SCSTART_NONE);
		}else if( sd )
			clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
		break;

I think problem is in

status_change_start(src,bl,type,10000,skill_lv,0,0,0,skill_get_time(skill_id,skill_lv),SCSTART_NOAVOID|SCSTART_NOTICKDEF));

For SCSTART_NOAVOID bypass GTB, but how to reduce the 100% coma chance, and make GTB effect apply?

 

Change the 10000 to other number should work but, this is about Curse state. If any one could explain me the SRC will be great.

PD: Is There any SRC doc with real documentation, I mean, one in doc/ is too useless. Thanks.

2 answers to this question

Recommended Posts

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...