joecalis 0 Posted March 13, 2015 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. Quote Share this post Link to post Share on other sites
0 malufett 247 Posted March 13, 2015 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.. Quote Share this post Link to post Share on other sites
0 joecalis 0 Posted March 13, 2015 ok thank you Quote Share this post Link to post Share on other sites
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:
to:
And just in case you're wondering how did I access sc->data in pc_damage I just simply added this:
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