Jump to content

Question

Posted (edited)

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.

1 answer to this question

Recommended Posts

  • 0
Posted
-	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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...