Jump to content
  • 0
Sign in to follow this  
raksone

Move Speed to ONLY Caster

Question

Hello community!

  I have a question, since I just spent a couple of hours solving it but no success.

 

Based on this skill src, where or how do I insert this code to ONLY the caster receive the movement speed bonus instead of the whole party?

 

BONUS: sc_start(src,bl,SC_SPEEDUP1,100,30,3000);

 

	case PR_MAGNIFICAT:
		if( sd == NULL || sd->status.party_id == 0 || (flag & 1) )
			clif_skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv)));
		else if( sd )
			party_foreachsamemap(skill_area_sub, sd, skill_get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill_castend_nodamage_id);
		break;

Thanks!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

  • 0

Hi.

 

Just add your code to the else if( sd ) block.

		case PR_MAGNIFICAT:
		case PR_GLORIA:
		case SN_WINDWALK:
		case CASH_BLESSING:
		case CASH_INCAGI:
		case CASH_ASSUMPTIO:
		case WM_FRIGG_SONG:
			if( sd == NULL || sd->status.party_id == 0 || (flag & 1) )
				clif->skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)));
			else if( sd ) {
				if (skill_id == PR_MAGNIFICAT) {
					// Magnificat caster exclusive code.
				}

				party->foreachsamemap(skill->area_sub, sd, skill->get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill->castend_nodamage_id);
			}
			break;

 

 

~Kenpachi

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.