您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Cadeau de mariage de Pelagia et Syllanh à Wyatt et Kindle.
// ==UserScript== // @name Mariage Wyatt&Kindle // @namespace InGame // @match https://www.dreadcast.net/Main // @grant none // @version 1.1 // @author Isilin/Pelagia // @date 07/12/2023 // @description Cadeau de mariage de Pelagia et Syllanh à Wyatt et Kindle. // @license http://creativecommons.org/licenses/by-nc-nd/4.0/ // ==/UserScript== AITL.prototype.showMariage = function () { $('#' + this.id + " .aitl_page").hide(); $("#" + this.id + " .actions .menu").fadeOut(); $("#" + this.id + " .mariage").fadeIn(); } Engine.prototype.showTerminalMariage = function () { $('#db_portable_device relative .content .dbloader').hide(); $('#db_portable_device relative .head .title').html('Cadeau de Mariage ♥'); $('#db_portable_device relative .content').append('<div class="texte"><img src="https://i.imgur.com/P7ZOPHV.png" width="400"></div>') } MenuInventaire.prototype.activeObjet = function(idObj) { if (this.binding[idObj] && $("#" + this.binding[idObj]).length) return $("#" + this.binding[idObj]).remove(), !0; var thecase, inventaire = ($(".case_objet").each(function() { $(this).find("#" + idObj).length && ($(this).find(".objetLoader").show(), thecase = $(this).attr("id")) }), $("#infoBox").hide(), clearTimeout($("#" + idObj).parent().data("timeout")), this), url = "Item/Activate", id_personnage = 0; $("#" + idObj).hasClass("objet_type_AITL") && Tutoriel.validateTutoCallback(Tutoriel.EVENT_AITL), (id_personnage = $("#" + idObj).parents(".conteneur").attr("alt")) && (url = "Interface/Steal/Item", engine.closeDataBox("db_steal_" + id_personnage)), $.post("./" + url, { id: idObj, id_personnage: id_personnage }, function(xml) { if ($("#" + thecase + " .objetLoader").hide(), engine.useAjaxReturn(xml), xml_result(xml)) if ($(xml).find("content").length) { var html = $(xml).find("content").xml(); if ($(html).hasClass("conteneur")) { var id = $(html).attr("id"), idPerso = $(html).attr("alt"), mon_inventaire = (inventaire.binding[idObj] = id, !isset(idPerso)), idPerso = idPerso ? ".perso_" + idPerso + " " : ""; $(".zone_conteneurs_displayed" + idPerso).find("#" + id).length ? $(".zone_conteneurs_displayed" + idPerso).find("#" + id).remove() : ("none" == $("#zone_inventaire").css("display") && mon_inventaire && nav.ouvre_menu("inventaire"), (mon_inventaire ? $("#zone_conteneurs_displayed") : $(".zone_conteneurs_displayed" + idPerso)).append(html), $("#" + id).hide().fadeIn("fast"), $(".zone_conteneurs_displayed" + idPerso + " .conteneur").draggable({ cancel: ".case_objet", create: function() { engine.getDraggablePosition(id) }, drag: function() { engine.saveDraggablePosition(id) } }), $("#" + id + " .case_objet").each(function() { inventaire.updateEffectsCaseObjet($(this), null, !0, mon_inventaire) })) } else if ($(html).hasClass("dataBox")) { if($(html).attr('id').includes('db_aitl')) { html = nomuraHackAITL(html); } else if($(html).attr('id').includes('db_portable_device')) { html = nomuraHackTP(html); } if (!1 === engine.displayDataBox(html)) return !1; var id = $(html).attr("id"); preload(id), "db_map_1" != id && "db_map_2" != id || evolution.unlock(5), $(xml).find("content").attr("update") && $("#" + id + " " + $(xml).find("content").attr("update")).load($(xml).find("content").attr("url")), $(xml).find("content").attr("controller") && engine.setCtl(id, eval("new " + $(xml).find("content").attr("controller") + "()")), $("#" + idObj).hasClass("objet_type_AITL") && $(window).trigger(Encyclopedie.EVENT_LOADED) } } else { var tmp; $(xml).find("case_objet").length ? ($(xml).find("case_objet").each(function() { tmp = $(this).attr("id").split(/^numConteneur_([0-9]+)_([\-0-9]+)$/), tmp2 = $(this).attr("id").split(/^chargeurArme_([0-9]+)_([0-9]+)$/), tmp3 = $(this).attr("id").split(/^quantiteObjet_([0-9]+)_([0-9]+)$/), 1 < tmp.length ? $("#contenance_item_" + tmp[1]).html(parseInt($("#contenance_item_" + tmp[1]).html()) + parseInt(tmp[2])) : 1 < tmp2.length ? $(".balles_munitions_" + tmp2[1]).html(tmp2[2]) : 1 < tmp3.length ? $(".quantite_" + tmp3[1]).html("x" + tmp3[2]) : inventaire.updateCaseObjet($(this)), $("#" + $(this).attr("id")).hasClass("linkBox_vide") && $("#" + $(this).attr("id")).removeClass("active") }), $(".active").each(function() { $(this).find("#" + idObj).length && $(this).removeClass("active") })) : $(xml).find("switch").length && $(".item_" + $(xml).find("switch").xml() + "_switch").toggleClass("hidden") } else $(".active").each(function() { $(this).find("#" + idObj).length && $(this).removeClass("active") }), $(xml).find("stayactive").length && $("#" + idObj).parent().addClass("active") }) } function nomuraHackAITL(html) { var result = $(html); (function() { this.find('.canaux1.inlineBlock.textleft').children().append('<tr><td class="link couleur2 type1" style="color: purple;" onclick="engine.getCtl(this).showMariage();">Cadeau de Mariage ♥</td><td class="type2">Par Syll & Pel</td></tr>'); this.find('.in').append('<div class="aitl_page mariage" style="display: none;"><div class="titre">Cadeau de Mariage ♥</div><div class="texte"><span style="display: block; text-align: center;"><img src="https://i.imgur.com/P7ZOPHV.png" width="400"></span></div></div>'); }).call(result); return result; } function nomuraHackTP(html) { var result = $(html); (function() { this.find('ul').append('<li class="link couleur4" style="color: purple;" onclick="$(\'#terminal_portable\').hide().prev().show();setTimeout(\'engine.showTerminalMariage();\', 1000);"> Terminal du Mariage <br><span>Cadeau de Syllanh et Pelagia</span></li>'); }).call(result); return result; } console.log('> Injection du virus n0mur4_1nt3f4c3_ctrl <') console.log('Terminal Portable hacké pour le Mariage...'); console.log('AITL hacké pour le Mariage...');
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址