Jump to content
  • 0

Banishing Buster and FCP ?


Idolo

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

Hello guys aigan me ! xD

I would know how I can exclude SC_CP_WEAPON SC_CP_SHIELD SC_CP_ARMOR and SC_CP_HELM From Banishing Buster skill (rebellion) ?

 

Does it something like this would works ?

            for(i=0;i<SC_MAX;i++) {
                if (!tsc->data[i])
                    continue;
                switch (i) {
            case SC_CP_WEAPON:
            case SC_CP_SHIELD:
            case SC_CP_ARMOR:
            case SC_CP_HELM:
            break;
                }
    case RL_BANISHING_BUSTER:
        if (dstsd && tsc) {
            uint16 i = 0;
            uint8 n = skill_lv * 2 + 2; //4, 6, 8, 10, 12
            for(i=0;i<SC_MAX;i++) {
                if (!tsc->data[i])
                    continue;
                switch (i) {
            case SC_CP_WEAPON:
            case SC_CP_SHIELD:
            case SC_CP_ARMOR:
            case SC_CP_HELM:
            break;
                }
            for (i = 0; i < SC_MAX && n > 0; i++) {
                if (tsc->data[i] && rnd()%400 < status_get_dex(src)) { //(custom)
                    status_change_end(bl,(sc_type)i,INVALID_TIMER);
                    n--;
                }
            }
        }
        break;

?

Thank.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

Bump.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

Bump please.

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