Jump to content
  • 0

Execute status(SC_START) within the source


xRaisen

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  175
  • Reputation:   8
  • Joined:  03/10/12
  • Last Seen:  

Hi,

I am wondering how to execute sc_start within the source. like for example I have a custom skill and when its active it will fire-up some status like comma+poison combined.

case SC_CUSTOMSTATUS:
	sc_start(bl,SC_CURSE,100,skilllv,skill_get_time2(skillid,skilllv));
	break;

I found that code sc_start, But im not sure how to use it. I want it to be applicable to all who ever acquired that skill. and whoever uses it, it will gradually lose hp/sp 10% per second like poison.

Im hoping this code below will kill it

status_change_end(bl, SC_CURSE, -1);

Please enlighten me. Thank you

Ok, problem solved.

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