Jump to content
  • 0

Requesting papa jakk event for xmas


Petey Pablo

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

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!


Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

not working , has error on line 20 and 25

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

line 20

.@form$ = .@form$ + .word$[.@i] +" ";

line 25

end;


/hmm ... what kind of error ?

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