Jump to content
  • 0
dalubhasa333

MVP timer and checker

Question

Hi,

 

May we request for NPC to show the MVP that is up and if the MVP is dead it will show the timer how many minutes,hours remaining before MVP respawn 

 

Thank you 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

The tombstone tracks the time of the MvP's death. If you want to show MvPs that are alive, here's an idea:

Save all MvP id or you can query the ids from the database if you're using sql for mob_db.

setarray $mvp_id, <mvp_id>; // Add the ids you want to track

Create a script where, when an MvP is killed (OnNPCKillEvent), blacklist its id or skip showing the dead ones.

OR you can use the tombstone to track if the MvP is dead or alive. You can set your data each time the tombstone is summoned and removed.

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.