Jump to content
  • 0

Requesting papa jakk event for xmas


Question

Posted

In this event, you'll be forming the word: M E R R Y C H R I S T M A S


- There's a chance to get 1 specific letter in every monster you killed.


- Event monster can be found on Prontera Fields. ( prt_fild01, 05, 06, 08 )


- Prizes: Santa Hat


 


Thank you!


3 answers to this question

Recommended Posts

  • 1
Posted

the title says "event script" attracts me, but the idea quite lame ...

 

prt_fild01,0,0,0,0	monster	Poring	1002, 100, 0,0,papa_jakk::On_kill
prt_fild05,0,0,0,0	monster	Poring	1002, 100, 0,0,papa_jakk::On_kill
prt_fild06,0,0,0,0	monster	Poring	1002, 100, 0,0,papa_jakk::On_kill
prt_fild08,0,0,0,0	monster	Poring	1002, 100, 0,0,papa_jakk::On_kill

prontera,155,188,5	script	papa_jakk	100,{
	if ( merrychristmas != 14 ) {
		mes "go to prt_fild to hunt poring";
		close;
	}
	mes "M E R R Y C H R I S T M A S";
	getitem 2236, 1; // Santa_Hat
	merrychristmas = 0;
	close;
On_kill:
	if ( rand(2) ) { // 50% chance
		if ( merrychristmas < 14 )
			merrychristmas++;
		for ( .@i = 0; .@i < merrychristmas; .@i++ )
			.@form$ = .@form$ + .word$[.@i] +" ";
		for ( .@i = merrychristmas; .@i < 14; .@i++ )
			.@form$ = .@form$ +"_ ";
		message strcharinfo(0), "words formed : "+ .@form$;
	}
	end;
OnInit:
	setarray .word$, "M", "E", "R", "R", "Y", "C", "H", "R", "I", "S", "T", "M", "A", "S";
	end;
}
simple script
  • 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...