Jump to content
  • 0

Single Strip through FCP with Item Required


Question

Posted

Hi,

Attached below is a modified codes for the strip skills way back 2008. I think this was made by DZeroX if I'm not mistaken.

Basically what it does is allow the Stalker with Soul Link to strip an enemy's weapon, armor, shield or headgear even the enemy has FCP. It requires 1 "Coat Remover" item to strip. There's still a chance that the strip will fail though and the item will be consumed.

I don't think this will work with the current code so I attached it here and asking someone if they can modify it to be compatible with the current code.

Thank you :)

stripskill.rar

5 answers to this question

Recommended Posts

Posted

In skill_require_db.txt

476,0,0,22:24:26:28:30,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //ST_FULLSTRIP##

Change red to your Coat Remover ID, green to amount.

Posted (edited)

Oops. I didn't read the request properly :P

Try replace skill.c line 6079 into this:

 if( sd && skillid == ST_FULLSTRIP && tsc && tsc->data[sC_CP_WEAPON] && tsc->data[sC_CP_HELM] && tsc->data[sC_CP_ARMOR] && tsc->data[sC_CP_SHIELD])
 {
  if(sc->data[sC_SPIRIT] && sc->data[sC_SPIRIT]->val2 == SL_ROGUE) {
if( (i = skill_strip_equip(bl, location, i, skilllv, d)) || (skillid != ST_FULLSTRIP && skillid != GC_WEAPONCRUSH ) )
 clif_skill_nodamage(src,bl,skillid,skilllv,i);
break;
  }
  clif_gospel_info(sd, 0x28);
  break;
 }

This will check if target has any of Chemical Protection buff then check if user has Soul Link buff.

If no, return fail message.

If yes, attempt to strip like normal full strip behavior.

Edited by darristan

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