Jump to content
  • 0

How to check for SC_EXPBOOST


Yuka

Question


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

I have a script that starts SC_EXPBOOST,-1,-99. It works fine and I have tested it a lot.

But now there was this one player who somehow list his (de)buff.

 

Do you have any idea what could have ended this?

I have NPCs that sc_end debuffs like Curse or Blind and some that end Assumptio and Link.

I have checked his picklog, he only used some potions and herbs (I have used them myself, it didn't end my SC_EXPBOOST)

 

Now a workaround would be if my NPC could check if the SC_EXPBOOST -99 is still running before giving his reward.

Is there any way to do it? I mean the buffs are saved somewhere server-sided, but where? And how can I review them?

 

Thanks a lot!


Edit: getstatus was the way to go, sorry. :P

Edited by Yuka
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  


if( getstatus( SC_EXPBOOST,0 ) ){

// status is active

}

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