Jump to content
  • 0

Need help regarding Single strip


Question

5 answers to this question

Recommended Posts

  • 0
Posted

in status.cpp

find:

case SC_STRIPHELM:
        if (sd && !(flag&SCSTART_LOADED)) {
            short i;
            if(sd->bonus.unstripable_equip&EQP_HELM)
                return 0;
            i = sd->equip_index[EQI_HEAD_TOP];
            if ( i < 0 || !sd->inventory_data[i] )
                return 0;
            pc_unequipitem(sd,i,3);
        }
        if (tick == 1) return 1; // Minimal duration: Only strip without causing the SC
    break;

add below break;

case SC_CP_ARMOR:
	status_change_end(bl, SC_STRIPARMOR, INVALID_TIMER);
	break;
case SC_CP_WEAPON:
	status_change_end(bl, SC_STRIPWEAPON, INVALID_TIMER);
	break;
case SC_CP_SHIELD:
	status_change_end(bl, SC_STRIPSHIELD, INVALID_TIMER);
	break;
case SC_CP_HELM:
	status_change_end(bl, SC_STRIPHELM, INVALID_TIMER);
	break;

save and recompile

  • 0
Posted (edited)

I checked your code its the same as the original,

 

What to do:

-Check if there are errors in map console when using acid demo

-Double check item db if item are set to indestructible

-Recompile

-check skill db might be something there

 

Compare your skill.c to github working skill.c find all cr_acid demo compare of theyre the same

If you still dont solve i recommend getting a new clean rathena implement mods 1 by 1, test it before implemwnting a new one to detect errors l/bugs

Edited by chowking

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