Jump to content
  • 0
Hyoru

Blade Stop

Question

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

2 answers to this question

Recommended Posts

  • 1

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
))

  • Upvote 2
Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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