Jump to content
  • 0

add fcp for accessory


Zezicla

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

i could need some help to get fcp also have accessory protection

 

skill.c

to start with

 

add SC_CP_ACC twice
const enum sc_type scdef[5] = {SC_CP_WEAPON, SC_CP_ARMOR, SC_CP_SHIELD, SC_CP_HELM, SC_CP_ACC, 0}; 

 

nxt

 

const enum sc_type sc_def[5] = {SC_CP_WEAPON, SC_CP_SHIELD, SC_CP_ARMOR, SC_CP_HELM, SC_CP_ACC 0};

 

then find : nothing below this should be changed i guess tell me ;) ?

 

case ST_FULLSTRIP:
            location = EQP_WEAPON|EQP_SHIELD|EQP_ARMOR|EQP_HELM;
            break;
        case SC_STRIPACCESSARY:
            location = EQP_ACC;
            break;
 

nxt

 

 

// Full Chemical Protection
    case CR_FULLPROTECTION:
        {
            int i, skilltime;
            skilltime = skill_get_time(skillid,skilllv);
            if (!tsc) {
                clif_skill_nodamage(src,bl,skillid,skilllv,0);
                break;
            }
            for (i=0; i<4; i++) {
                status_change_end(bl, (sc_type)(SC_STRIPWEAPON + i), INVALID_TIMER);
                sc_start(bl,(sc_type)(SC_CP_WEAPON + i),100,skilllv,skilltime);
            }
            clif_skill_nodamage(src,bl,skillid,skilllv,1);
        }
        break;
 

 

 sc_start(bl,(sc_type)(SC_CP_WEAPON, SC_CP_ACC + i),100,skilllv,skilltime);

how to add the SC_ACC the above ?

 

for anything more i didnt found it thats fast help me out plz :D

client side needs changes too i guess ><

Edited by Zezicla
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

no1 can help me ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

any1 can help ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

is this all or more needed ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

any1 with help ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

no1 ... ?

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