Jump to content
  • 0

Need help regarding Single strip


DairyPresto

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   1
  • Joined:  04/03/17
  • Last Seen:  

Please someone help m about my single strip, if the stalker with link strip helm the player and successful strip how to remove the single strip using fcp again? 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   1
  • Joined:  04/03/17
  • Last Seen:  

wow i try it later, 

But sir @chowking can u please help me about this? :(

https://rathena.org/board/topic/113587-q-about-acid-demonstration-skill/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

@nestymow that should be default you probably did something there
compare to rathena skill.cpp for you to see whats wrong

Edited by chowking
mentioned user
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   1
  • Joined:  04/03/17
  • Last Seen:  

On 22/12/2017 at 8:07 PM, chowking said:

@nestymow that should be default you probably did something there
compare to rathena skill.cpp for you to see whats wrong

in which part ? :( i dont know where to edit it

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

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