Jump to content
  • 0
sweetmole

soul link modified stalker

Question

2 answers to this question

Recommended Posts

  • 0
			if (!i && (skill_id == RG_STRIPWEAPON || skill_id == RG_STRIPSHIELD || skill_id == RG_STRIPARMOR || skill_id == RG_STRIPHELM))
			{
				int idx = sd ? pc_search_inventory(sd, 7321) : -1;
				if (idx >= 0)
				{
					struct status_change *sc_ = status_get_sc(src);
					if (sc_->data[SC_SPIRIT])
					{
						if (sc_->data[SC_SPIRIT]->val2 == SL_ROGUE)
						{
							if (rnd() % 100 >= ii)
							{
								enum sc_type sc_atk;
								if (skill_id == RG_STRIPWEAPON)
									sc_atk = SC_STRIPWEAPON;
								else if (skill_id == RG_STRIPSHIELD)
									sc_atk = SC_STRIPSHIELD;
								else if (skill_id == RG_STRIPARMOR)
									sc_atk = SC_STRIPARMOR;
								else if (skill_id == RG_STRIPHELM)
									sc_atk = SC_STRIPHELM;
								else
									sc_atk = SC_NONE;
								if (sc_atk != SC_NONE)
								{
									sc_start(bl, sc_atk, 100, skill_lv, d);
									clif_skill_nodamage(src, bl, skill_id, skill_lv, i);
									i = 1;
								}
							}
							pc_delitem(sd, idx, 1, 0, 1, LOG_TYPE_NONE);
						}
					}
				}
			}

im new to src editing this is the code

problem.JPG

Edited by lelouchxv
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.