Jump to content
  • 0
Sign in to follow this  
Mikhail von Hohenheim

[HELP] SC_Invisibility

Question

I've been doing trial and error for a while now,,

 

This status actually allows you to move/attack while on hide status,,

 

But I would like like also to add the ability to use skills while on this status,, 

 

I  tried to unquote this at the codes,,

 

		if ( sc->option&OPTION_CHASEWALK ) {			if ( sc->data[SC__INVISIBILITY] ) {				if ( skill_id != 0 && skill_id != SC_INVISIBILITY )					return 0;			} else if ( skill_id != ST_CHASEWALK )				return 0;		}

But,, I always get alot of errors in repacking/rebuilding the files,,

 

While in here,,

		if (skill_id && //Do not block item-casted skills.			(src->type != BL_PC || ((TBL_PC*)src)->skillitem != skill_id)		) {			//Skills blocked through status changes...				if (!flag && ( //Blocked only from using the skill (stuff like autospell may still go through					sc->data[SC_SILENCE] ||					sc->data[SC_STEELBODY] ||					/*sc->data[SC_BERSERK] ||*/					sc->data[SC_OBLIVIONCURSE] ||					sc->data[SC_WHITEIMPRISON] ||					/*sc->data[SC__INVISIBILITY] ||*/					(sc->data[SC_COLD] && src->type != BL_MOB) ||					sc->data[SC__IGNORANCE] ||		

unquoting berserk is doing fine,, while on berserk i can use skills,, 

 

BUT,, the SC_Invisibility still cannot use skills,, 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.