Requesting papa jakk event for xmas

Petey Pablo

New member
Messages
224
Points
0
Emulator
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!

 
how can form the word Merry Christmas, needs more information.

 
Last edited by a moderator:
You need to add custom items that contains these letters " M E R R Y C H R I S T M A S "

Try this. I haven't tested it.

Code:
-    script    xmasjkk    -1,{OnNpcKillEvent:    if ( strcharinfo(4) != "prt_fild01" ) end;    .@rand = rand ( 1, 100 )    if ( .@rand <= 90 ) {        getitem .item_id[rand(getarraysize(.item_id))], 1;        end;    }    dispbottom "???";    end;OnInit:    setarray .item_id[0], 20000, 20001, 20002, 20003, 20004; //example item id of your custom item.    end;}
 
Last edited by a moderator:
M E R R Y C H R I S T M A S
@warp prt_fild01
C = goblin xmas
E = xmas cookie
Y = cruiser
@warp prt_fild05
I = xmas orc
H = xmas jakk
A = snowier
@warp prt_fild06
T = siroma
S = santa poring
@warp prt_fild08
M = cookie
R = myst case
 
Last edited by a moderator:
i think they are not using item for the word merry christmas but i think it is only a message example when you kill Siroma monster it will message you the letter T

 
You need to add custom items that contains these letters " M E R R Y C H R I S T M A S "

Try this. I haven't tested it.

Code:
-    script    xmasjkk    -1,{OnNpcKillEvent:    if ( strcharinfo(4) != "prt_fild01" ) end;    .@rand = rand ( 1, 100 )    if ( .@rand <= 90 ) {        getitem .item_id[rand(getarraysize(.item_id))], 1;        end;    }    dispbottom "???";    end;OnInit:    setarray .item_id[0], 20000, 20001, 20002, 20003, 20004; //example item id of your custom item.    end;}
how can i add more maps here?
 
Last edited by a moderator:
I edit like this
You need to add custom items that contains these letters " M E R R Y C H R I S T M A S "
 
Try this. I haven't tested it.
 
 

Code:
-    script    xmasjkk    -1,{OnNpcKillEvent:    if ( strcharinfo(4) != "prt_fild01","prt_fild05","prt_fild06","prt_fild08" ) end;    .@rand = rand ( 1, 100 )    if ( .@rand <= 90 ) {        getitem .item_id[rand(getarraysize(.item_id))], 1;        end;    }    dispbottom "???";    end;OnInit:    setarray .item_id[0], 20000, 20001, 20002, 20003, 20004; //example item id of your custom item.    end;}
 
Last edited by a moderator:
Code:
-    script    xmasjkk    -1,{OnNPCKillEvent:for ( .@i = 0; .@i < getarraysize(.maps$); .@i++ )    if ( strcharinfo(3) == .maps$[.@i] ) {        .@rand = rand ( 1, 100 ); announce .@rand,0;        if ( .@rand <= 10 ) { // 10% chance.            getitem .item_id[rand(getarraysize(.item_id))], 1;            end;        }        dispbottom "???";        end;    }end;OnInit:    setarray .maps$[0],"prt_fild01","prt_fild05","prt_fild06","prt_fild08","prontera"; // add maps here.    setarray .item_id[0], 501, 502, 503, 504, 505; //example item id of your custom item.    end;}
 
Back
Top