Jump to content
  • 0
luizragna

How can i do disguise keep active while any SC

Question

Hello guys, i maked a custom status that change appearence. But when i logoff the transformation end;

status.c:

status->set_sc( DG_PAYMASOU    , SC_PAYMASOU  , SI_PAYMASOU       , SCB_SPEED|SCB_STR|SCB_AGI|SCB_VIT|SCB_INT|SCB_DEX|SCB_LUK );

When status start:

	if(!(flag&SCFLAG_LOADED)) { // Do not parse val settings when loading SCs
		switch(type) {
            .
            .
            .
             	case SC_PAYMASOU:
				pc->disguise(sd, 4073);
            
         

When status end:

	vd = status->get_viewdata(bl);
	calc_flag = status->dbs->ChangeFlagTable[type];
	switch(type) {
        .
        .
        .
        	case SC_PAYMASOU:
			pc->disguise(sd, -1);

 

How can i solve it??

Edited by luizragna

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

×
×
  • Create New...

Important Information

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