Jump to content
  • 0

MvP town onvader


PaqnaN

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   2
  • Joined:  01/06/14
  • Last Seen:  

hi, i would like to request an event script that works for eathena and rathena.
a hidden npc that activates every 4 hours and or by gm lvl90 above
the event will summon my custom MVP in the center of the main town

and gives reward (item) to who's player that killed the mvp..

hope some1 out the can give me this.

i have search around rathena but cant find 1.. only the monster invasion. 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

-	script	Sample	-1,{
	OnWhisperGlobal:
		if ( getgmlevel() < 99 ) end;
		if ( @whispervar0$ == "start" )
			donpcevent strnpcinfo( 1 )+"::OnStart";
		end;
	OnMinute00:
		if ( gettime( 3 ) % 4 ) end;
		donpcevent strnpcinfo( 1 )+"::OnStart";
		end;
	OnStart:
		monster "prontera",150,150,"--ja--",1002,1,strnpcinfo( 1 )+"::OnKilledMonster";
		end;
	OnKilledMonster:
		//announce strcharinfo( 0 )+ " won the event",0;
		getitem 501, 1;
		end;
}

whisper start

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

1. Change 150 150 to the center prontera coordinates :P 

2. Change 1002 to your desired custom mob

3. Change 501 and 1 to your desired item reward and amount

-	script	Sample	-1,{
	OnMinute00:
		if ( gettime( 3 ) % 4 ) end;
		monster "prontera",150,150,"--ja--",1002,1,strnpcinfo( 1 )+"::OnKilledMonster";
		end;
	OnKilledMonster:
		//announce strcharinfo( 0 )+ " won the event",0;
		getitem 501, 1;
		end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   2
  • Joined:  01/06/14
  • Last Seen:  

thank you so much, Patskie
it work perfectly.

anyway,, is there any way that a gm can activate this? like on whisper? 
again thnx for the script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   2
  • Joined:  01/06/14
  • Last Seen:  

thank you very much

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