Jump to content
  • 0

How do I enable skills in CELL_BASILICA


Question

1 answer to this question

Recommended Posts

  • 0
Posted
Quote

/pc.cpp

bool pc_can_attack( struct map_session_data *sd, int target_id ) {
    nullpo_retr(false, sd);

    if( pc_is90overweight(sd) || pc_isridingwug(sd) )
        return false;

    if (sd->state.block_action & PCBLOCK_ATTACK)
        return false;

    if(

Quote

//#ifdef RENEWAL
//        sd->sc.data[SC_BASILICA_CELL] ||
//#else
//        sd->sc.data[SC_BASILICA] ||
//#endif


        sd->sc.data[SC__SHADOWFORM] ||
        sd->sc.data[SC_CURSEDCIRCLE_ATKER] ||
        sd->sc.data[SC_CURSEDCIRCLE_TARGET] ||
        sd->sc.data[SC_CRYSTALIZE] ||
        sd->sc.data[SC_ALL_RIDING] || // The client doesn't let you, this is to make cheat-safe
        sd->sc.data[SC_TRICKDEAD] ||
        (sd->sc.data[SC_VOICEOFSIREN] && sd->sc.data[SC_VOICEOFSIREN]->val2 == target_id) ||
        sd->sc.data[SC_BLADESTOP] ||
        sd->sc.data[SC_DEEPSLEEP] ||
        (sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) ||
        sd->sc.data[SC_KINGS_GRACE] )
            return false;

    return true;
}

 

I've looked everywhere, i must've missed it. This enables attacking but does not enable skills. Any ideas?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...