Multi-hit skills causes player to Stand?

joecalis

New member
Messages
21
Points
0
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.

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


default_ani_meow.gif


 
Back
Top