/*---------------------------------------------------------------------------------------------------------------*/ $(function(){ /*---------------------------------------------------------------------------------------------------------------*/ //download $(document).on("click",".dlbutton", function(){ button=$(this).attr("class"); if ( button.match(/_sub/)) { dl = new Array(); dl[0] = "kksdl01"; n = Math.floor(Math.random()*dl.length); }else if( button.match(/_all/)) { dl = new Array(); dl[0] = "kksdl01"; n = Math.floor(Math.random()*dl.length); }else if( button.match(/_vrt/)) { dl = new Array(); dl[0] = "kksdl01"; n = Math.floor(Math.random()*dl.length); } else { dl = new Array(); dl[0] = "kksdl01"; n = Math.floor(Math.random()*dl.length); } dlfile = $(this).data("dlid"); //location.href ='https://'+dl[n]+'.illusion.rip/download/dl3.cgi?dlname='+ dlfile +'.exe&count='+ dlfile +'_'+dl[n]; //location.href ='https://'+dl[n]+'.illusion.rip/download/dl.cgi?dlname='+ dlfile +'.exe&count='+ dlfile; location.href ='https://static.illusion.rip/koikatsu_sunshine/'+ dlfile +'.exe'; }); $(document).on("click","#download_chara .cList > div", function(){ charaID=$(this).data("id") +1; downloadID = ( '00' + charaID ).slice( -2 ); if(downloadID == "99"){ downloadID ="00"; } dl = new Array(); dl[0] = "kksdl01"; n = Math.floor(Math.random()*dl.length); //location.href ='https://'+dl[n]+'.illusion.rip/download/dl.cgi?dlname=koikatsu_sunshine_5_chara_'+ downloadID +'.exe&count=koikatsu_sunshine_5_chara_'+ downloadID; location.href ='https://static.illusion.rip/koikatsu_sunshine/koikatsu_sunshine_5_chara_'+ downloadID +'.exe'; }); $(document).on({ "mouseenter": function(){ ccolor=$(this).data("id"); $('head').append(``); }, "mouseleave": function(){ $(".estyle").remove(); } }, ".chara98"); /*---------------------------------------------------------------------------------------------------------------*/ }); /*---------------------------------------------------------------------------------------------------------------*/