Hyoru Posted April 30, 2012 Share Posted April 30, 2012 Hi, I need to block the use of itens when a player is using Blade Stop, like when frenzy is on. Thanks Adv. Quote Link to comment Share on other sites More sharing options...
1 Lilith Posted April 30, 2012 Share Posted April 30, 2012 In pc.c Search pc_useitem function, in this function find: if( sd->sc.count && ( sd->sc.data[sC_BERSERK] || (sd->sc.data[sC_GRAVITATION] && sd->sc.data[sC_GRAVITATION]->val3 == BCT_SELF) || sd->sc.data[sC_TRICKDEAD] || sd->sc.data[sC_HIDING] || sd->sc.data[sC__SHADOWFORM] || (sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOITEM) )) add sc's: if( sd->sc.count && ( sd->sc.data[sC_BERSERK] || (sd->sc.data[sC_GRAVITATION] && sd->sc.data[sC_GRAVITATION]->val3 == BCT_SELF) || sd->sc.data[sC_TRICKDEAD] || sd->sc.data[sC_HIDING] || sd->sc.data[sC__SHADOWFORM] || (sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOITEM) || sd->sc.data[sC_BLADESTOP_WAIT] || // <--add this sd->sc.data[sC_BLADESTOP] // <-- and this )) 2 Quote Link to comment Share on other sites More sharing options...
Hyoru Posted May 4, 2012 Author Share Posted May 4, 2012 thanks a lot! Quote Link to comment Share on other sites More sharing options...
Hi,
I need to block the use of itens when a player is using Blade Stop, like when frenzy is on.
Thanks Adv.
Link to comment
Share on other sites