Jump to content
  • 0

MVP Invasion


fragment

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  04/25/19
  • Last Seen:  

Hello,Rathena need your help

Can you Modified the MVP Invasion per 5 hours and then if 1 hours didnt kill they will @killmonster2 

Thanks a Lot

-    script    Sample    -1,{
OnInit:
setarray .Map$[0],"prontera","payon","izlude";
setarray .MVP[0],1751,1832,1252,1648;
end;

OnHour00:
OnHour08:
killmonster .Map$[ .RandMap ],"All";
if( .event_timer%8 ) end;
.event_timer++;
set .RandMap,rand( getarraysize( .Map$ ) );
set .RandMVP,rand( getarraysize( .MVP ) );
monster .Map$[ .RandMap ],0,0,"MVP Event",.MVP[ .RandMVP ],1,strnpcinfo(0)+"::OnKilled";
announce "MVP "+getmonsterinfo( .MVP[ .RandMVP ],0 )+" Telah Merusak Kota "+.Map$[ .RandMap ]+" . Seseorang Harus membantu!!",0;
end;

OnKilled:
announce "MVP telah Mati. Kota telah Aman.",0;
end;
}

 

 

Edited by Emistry
Please use codebox.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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

-	script	Sample	-1,{
OnInit:
	setarray .Map$[0],"prontera","payon","izlude";
	setarray .MVP[0],1751,1832,1252,1648;
	end;

OnHour00:
OnHour08:
	killmonster .Map$[ .RandMap ],"All";
	if( .event_timer%8 ) end;
	.event_timer++;
	set .RandMap,rand( getarraysize( .Map$ ) );
	set .RandMVP,rand( getarraysize( .MVP ) );
	monster .Map$[ .RandMap ],0,0,"MVP Event",.MVP[ .RandMVP ],1,strnpcinfo(0)+"::OnKilled";
	announce "MVP "+getmonsterinfo( .MVP[ .RandMVP ],0 )+" Telah Merusak Kota "+.Map$[ .RandMap ]+" . Seseorang Harus membantu!!",0;
	initnpctimer;
	end;

OnKilled:
	announce "MVP telah Mati. Kota telah Aman.",0;
OnTimer3600000:
	killmonster .Map$[ .RandMap ],"All";
	stopnpctimer;
	end;
}

 

  • Upvote 1
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...