Jump to content
  • 0

how could i change the effect of Kaite to can't reflec the magic like meteor storm/ Load of Vermillion/ Strom Gust?


Question

6 answers to this question

Recommended Posts

  • 1
Posted (edited)

I'm guessing your server is pre-renewal since renewal already ignores kaite reflect for AoE's.

To enable this in pre-renewal just uncomment or delete the #ifdef RENEWAL and #endif in the code crazyarashi posted and change the return value back to 2.

It should look like this:

	if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80)
//#ifdef RENEWAL
		&& type // Does not reflect AoE
//#endif
		) {
		// Kaite only works against non-players if they are low-level.
		// Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it.
		clif_specialeffect(bl, EF_ATTACKENERGY2, AREA);
		if( --sc->data[SC_KAITE]->val2 <= 0 )
			status_change_end(bl, SC_KAITE, INVALID_TIMER);
		return 2;
	}

 

Edited by joecalis
  • Upvote 1
  • 0
Posted
	if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80)
#ifdef RENEWAL
		&& type // Does not reflect AoE
#endif
		) {
		// Kaite only works against non-players if they are low-level.
		// Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it.
		clif_specialeffect(bl, EF_ATTACKENERGY2, AREA);
		if( --sc->data[SC_KAITE]->val2 <= 0 )
			status_change_end(bl, SC_KAITE, INVALID_TIMER);
		return 2;
	}

Find this part in src/skill.cpp and change the return 2; to return 1;

  • 0
Posted
On 6/3/2018 at 7:13 AM, crazyarashi said:
	if( sc->data[SC_KAITE] && (src->type == BL_PC || status_get_lv(src) <= 80)
#ifdef RENEWAL
		&& type // Does not reflect AoE
#endif
		) {
		// Kaite only works against non-players if they are low-level.
		// Kyomu doesn't disable Kaite, but the "skill fail chance" part of Kyomu applies to it.
		clif_specialeffect(bl, EF_ATTACKENERGY2, AREA);
		if( --sc->data[SC_KAITE]->val2 <= 0 )
			status_change_end(bl, SC_KAITE, INVALID_TIMER);
		return 2;
	}

Find this part in src/skill.cpp and change the return 2; to return 1;

how do i reflect area damage with kaite? (renewal mode server)

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