Jump to content
  • 0
Sign in to follow this  
joecalis

Multi-hit skills causes player to Stand?

Question

I have just tested this and I was wondering if this is a bug or something.

I had a character with infinite endure while sitting, normal attacks and single hit skills doesn't make it stand,

but multi-hit skills like Double Strafe, Double Attack,Sonic Blow causes the player to stand.

 

I already tried modifying pc_damage in pc.c where it says:

if( pc_issit(sd) ) {		pc->setstand(sd);		skill->sit(sd,0);	}

to:

if( pc_issit(sd) && !sc->data[SC_ENDURE_I]) {			pc->setstand(sd);			skill->sit(sd,0);	}

And just in case you're wondering how did I access sc->data in pc_damage I just simply added this:

struct status_change *sc;sc = status->get_sc(src);

Anyway that is my problem, can anyone please tell me how to fix this? I want the character to keep sitting even if hit by a multi-hit skill.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

this code was place there to fix a bug where the client makes the character stand while in the server the character is still sitting,,,

if( pc_issit(sd) ) {  pc->setstand(sd);  skill->sit(sd,0);}

 

if you really want to make it work then start to hex the client to remove that behavior..:D

 

 

:meow:

Share this post


Link to post
Share on other sites

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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