- script SetCakeWall -1,{ end; OnInit: setwall "1@cake", 89, 185, 7, 6, false, "cakewall"; } prontera,155,150,4 script Cakering Instance#a 89,{ .@md_name$ = "Cakering Instance"; .@instance = instance_create( .@md_name$, getcharid( 3 ), IOT_CHAR); if( .@instance < 0 ) { dispbottom "Instance Failed."; end; } dispbottom "^0000ff" + .@md_name$ + "^000000- Attempting to create Cakering Instance."; if( instance_attachmap("1@cake",.@instance) == "" ) { // if( !instance_attachmap( "yuno_fild02", .@instance, 1, "1@cake" ) ) { instance_destroy( .@instance ); dispbottom "Failed to attach yuno_fild02 as a map!"; end; } if( instance_attachmap("2@cake",.@instance) == "" ) { // if( !instance_attachmap( "kh_vila", .@instance, 1, "2@cake" ) ) { instance_destroy( .@instance ); dispbottom "Failed to attach 2@cake as a map!"; end; } dispbottom "^0000ff" + .@md_name$ + " attempt successful!"; instance_set_timeout( 3600, 300, .@instance ); instance_init( .@instance ); warp instance_mapname( "1@cake", .@instance ), 92,189; .@warped = 1; callfunc("OnCakeStart",.@instance); sleep2 2000; if(.@warped == 1) { callfunc ("CakeLVL1"); // warp instance_mapname( "1@cake", .@instance ), 92, 189; } function script OnCakeStart { if( getarg(0,-1) > 0 ) { warp instance_mapname("1@cake",getarg(0)),92,189; } } function script CakeLVL1 { .mob = 40; //total number of mobs areamonster "1@cake",97,108,128,76,"Antler",1765,1,strnpcinfo(0)+"::OnCake1"; areamonster "1@cake",97,108,128,76,"[TL] False Angel",1371,25,strnpcinfo(0)+"::OnCake1"; areamonster "8@wcd",97,108,128,76,"[TL] Arch Angeling",1388,5,strnpcinfo(0)+"::OnCake1"; end; OnCake1: .mob1--; if ( !.mob1 ) { enablenpc "#NPCNAME" function script CakeWarp1 {