Jump to content
  • 0

Status Recovery of Priests


TiMz

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

Hello so I tried adding these lines in skill.c

 

	case PR_STRECOVERY:
		if(status_isimmune(bl)) {
			clif_skill_nodamage(src,bl,skillid,skilllv,0);
			break;
		}
		if (tsc && tsc->opt1) {
			status_change_end(bl, SC_FREEZE, INVALID_TIMER);
			status_change_end(bl, SC_STONE, INVALID_TIMER);
			status_change_end(bl, SC_SLEEP, INVALID_TIMER);
			status_change_end(bl, SC_STUN, INVALID_TIMER);
			status_change_end(bl, SC_WHITEIMPRISON, INVALID_TIMER);
			status_change_end(bl, SC_DECREASEAGI, INVALID_TIMER);  //ADDED
			status_change_end(bl, SC_STEELBODY, INVALID_TIMER);  //ADDED
			status_change_end(bl, SC_DONTFORGETME, INVALID_TIMER);  //ADDED
			status_change_end(bl, SC_CHANGEUNDEAD, INVALID_TIMER); //ADDED
		}

 

After recompiling it doesn't seem to work. Status recovery does nothing to players that are slowed by decagi, PDFM and does not dispell steelbody and undead.

Any ideas?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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