Jump to content
  • 0

Kill 20,000 monsters to activate World Boss quest


Question

Posted

Hi i need suggest how to make World Boss like this?

So we need kill X monster to activated it ?

screenAvonRO000.thumb.jpg.08edd3448b74f965d38927d0df9cd06c.jpg

 

 

 

 

Example : Need to kill 20,000 Monster in the Ragnarok World first to Activated World Boss Event, after kill 20,000 Monster World Boss Event will announce the event has started.

6 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, dikapramantya said:

Hi i need suggest how to make World Boss like this?

So we need kill X monster to activated it ?

screenAvonRO000.thumb.jpg.08edd3448b74f965d38927d0df9cd06c.jpg

 

 

 

 

Example : Need to kill 20,000 Monster in the Ragnarok World first to Activated World Boss Event, after kill 20,000 Monster World Boss Event will announce the event has started.

@dikapramantyahere for referal script

 

  • 0
Posted (edited)
prontera,255,55,4	script	World Boss	123,{
.@kill_count = (.monster_kill_requirement - $world_boss_counter);
mes "[ World Boss ]";
mes "Status :" +($world_boss_active == 1?"^00FF00Active^000000":"^FF0000Inactive^000000");
mes "Kill Remaining - [ ^0000FF"+.@kill_count+"^000000 ]";
mes "=============================";
mes "Reward:";
mes "<ITEM>World Boss Reward<INFO>501</INFO></ITEM>";
end;

OnNPCKillEvent:
	if($world_boss_active == 1) end;
		$world_boss_counter += 1;
		if($world_boss_counter == .monster_kill_requirement){ 
			donpcevent "World Boss::OnSummon";
			}
		end;

OnSummon:
	$world_boss_active = 1;
	monster "prontera",255,55,"World Boss",1002,1,"World Boss::OnBossKill";
	end;
	
OnBossKill:
	$world_boss_active = 0;
	$world_boss_counter = 0;
	getitem 501,1;
	end;
		
OnInit:
	.monster_kill_requirement = 100;
	freeloop(1);
	while(1){
		.@kill_count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+.@kill_count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

Here a simple base :))

Edited by crazyarashi
  • 0
Posted
On 8/12/2018 at 11:16 PM, crazyarashi said:

prontera,255,55,4	script	World Boss	123,{
.@kill_count = (.monster_kill_requirement - $world_boss_counter);
mes "[ World Boss ]";
mes "Status :" +($world_boss_active == 1?"^00FF00Active^000000":"^FF0000Inactive^000000");
mes "Kill Remaining - [ ^0000FF"+.@kill_count+"^000000 ]";
mes "=============================";
mes "Reward:";
mes "<ITEM>World Boss Reward<INFO>501</INFO></ITEM>";
end;

OnNPCKillEvent:
	if($world_boss_active == 1) end;
		$world_boss_counter += 1;
		if($world_boss_counter == .monster_kill_requirement){ 
			donpcevent "World Boss::OnSummon";
			}
		end;

OnSummon:
	$world_boss_active = 1;
	monster "prontera",255,55,"World Boss",1002,1,"World Boss::OnBossKill";
	end;
	
OnBossKill:
	$world_boss_active = 0;
	$world_boss_counter = 0;
	getitem 501,1;
	end;
		
OnInit:
	.monster_kill_requirement = 100;
	freeloop(1);
	while(1){
		.@kill_count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+.@kill_count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

Here a simple base :))

Thanks, i will try it !!

  • 0
Posted
On 8/12/2018 at 11:16 PM, crazyarashi said:

prontera,255,55,4	script	World Boss	123,{
.@kill_count = (.monster_kill_requirement - $world_boss_counter);
mes "[ World Boss ]";
mes "Status :" +($world_boss_active == 1?"^00FF00Active^000000":"^FF0000Inactive^000000");
mes "Kill Remaining - [ ^0000FF"+.@kill_count+"^000000 ]";
mes "=============================";
mes "Reward:";
mes "<ITEM>World Boss Reward<INFO>501</INFO></ITEM>";
end;

OnNPCKillEvent:
	if($world_boss_active == 1) end;
		$world_boss_counter += 1;
		if($world_boss_counter == .monster_kill_requirement){ 
			donpcevent "World Boss::OnSummon";
			}
		end;

OnSummon:
	$world_boss_active = 1;
	monster "prontera",255,55,"World Boss",1002,1,"World Boss::OnBossKill";
	end;
	
OnBossKill:
	$world_boss_active = 0;
	$world_boss_counter = 0;
	getitem 501,1;
	end;
		
OnInit:
	.monster_kill_requirement = 100;
	freeloop(1);
	while(1){
		.@kill_count = (.monster_kill_requirement - $world_boss_counter);
		waitingroom "Kill Left : ["+.@kill_count+"]",0;
		sleep 1000; //= 1 Second Refresh
		delwaitingroom;
	}
	freeloop(0);
	end;
}

Here a simple base :))

i try this but.. i kill 100 poring and then the mvp summon just first time.. and then the npc always show status active with 0 monster... can u help me to make it LOOP?

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