Jump to content
  • 0

Illusion Death always coma


vomaito

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   3
  • Joined:  06/29/15
  • Last Seen:  

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   3
  • Joined:  06/29/15
  • Last Seen:  

Up.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   3
  • Joined:  06/29/15
  • Last Seen:  

Bump.

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