Petey Pablo 0 Posted December 9, 2013 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! Quote Share this post Link to post Share on other sites
0 unknown 5 Posted December 9, 2013 (edited) how can form the word Merry Christmas, needs more information. Edited December 9, 2013 by unknown Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted December 9, 2013 (edited) 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. - 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;} Edited December 9, 2013 by quesoph Quote Share this post Link to post Share on other sites
0 unknown 5 Posted December 9, 2013 (edited) 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 Edited December 9, 2013 by unknown Quote Share this post Link to post Share on other sites
0 unknown 5 Posted December 9, 2013 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 Quote Share this post Link to post Share on other sites
0 unknown 5 Posted December 14, 2013 (edited) 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. - 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? Edited December 14, 2013 by unknown Quote Share this post Link to post Share on other sites
0 unknown 5 Posted December 14, 2013 (edited) I edit like thisYou 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. - 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;} Edited December 14, 2013 by jaBote Added missing ending code tag Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted December 15, 2013 - 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;} Quote Share this post Link to post Share on other sites
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!
Share this post
Link to post
Share on other sites