Jump to content
  • 0
Zalbahis

R> MVP Hunting Points..

Question

I'm requesting for a MVP Hunting Points..

Every MVP gives points to its killer depending on the MVP difficulty..

 

Example:

Phreeoni = 1 Point

Baphomet = 2 Points

Thanatos = 5 Points

etc....

 

I hope that, it explains well..

Thank you in advance and more power to Hercules Devs.

 

PS: Or just 1 Point per MVP kill if you don't have the script above ^_^..

Edited by Zalbahis

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
OnNpcKillEvent:	if ( killedrid == 1159 ) { // 1159 is phreeoni's monster ID.		dispbottom "You killed Phreeoni";		set #MVPPOINTS, #MVPOINTS + 1; // +1 MVP Points if you kill phreeoni.		end;	}

Share this post


Link to post
Share on other sites
  • 0

If you want to add MvP points taking account of the killed MvP ID, use quesoph's formula and repeat it with each MvP. To avoid some useless processing time you can use that or if you want some more code efficiency you could use a huge switch statement.

 

In case you want to add MvP points regardless of the MvP killed, you could use something like this:

 

OnNpcKillEvent:	if ( getmonsterinfo(killedrid,MOB_MVPEXP) > 0 ) { // Mob MVP exp > 0 means MvP	    dispbottom "You killed "+rid2name(killedrid)+"!";		set #MVPPOINTS, #MVPPOINTS + 1; // +1 MVP Points if you kill a MVP.		end;	}

 

P.S.: Quesoph, you have a typo in your script, check the 4th line.

Share this post


Link to post
Share on other sites
  • 0

Oh thanks for pointing that out :D

 

anyway

This is account based.

 

set #MVPPOINTS, #MVPPOINTS + 1;

 

And this is character based.

 

set MVPPOINTS, MVPPOINTS + 1;

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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