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.