Jump to content
  • 0

Where to find Meteor Assault SRC for stun/blind/bleed


Question

Posted (edited)

Where to find Meteor Assault SRC for stun/blind/bleed? I managed to find the duration @ skill_cast_db.txt

Looking to remove the bleed and blind effect, and make the stun 100% chance to happen

also, is this correct?

src/map/status.c
        case SC_STUN:
            sc_def = status->luk*300;
            break;

Goal: Stun cannot be resisted, only if luk is 300

Edited by Mavis

1 answer to this question

Recommended Posts

  • 0
Posted

A bit late, but the code you are looking for is in skill.c

	case ASC_METEORASSAULT:
		//Any enemies hit by this skill will receive Stun, Darkness, or external bleeding status ailment with a 5%+5*skill_lv% chance.
		switch(rnd()%3) {
			case 0:
				sc_start(src,bl,SC_BLIND,(5+skill_lv*5),skill_lv,skill_get_time2(skill_id,1));
				break;
			case 1:
				sc_start(src,bl,SC_STUN,(5+skill_lv*5),skill_lv,skill_get_time2(skill_id,2));
				break;
			default:
				sc_start2(src,bl,SC_BLEEDING,(5+skill_lv*5),skill_lv,src->id,skill_get_time2(skill_id,3));
		}
		break;

If you change SC_STUN in general, it affects all skills, not only Meteor Assault.

You will need to replace sc_start with a status_change_start call with the corresponding parameters. With the "flag" parameter you can define that chance / duration cannot be reduced.

 * @param flag: Value which determines what parts to calculate. See e_status_change_start_flags

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