diff --git a/character/diy.js b/character/diy.js index 9673a01d6..36bb7ae45 100755 --- a/character/diy.js +++ b/character/diy.js @@ -4765,6 +4765,9 @@ game.import("character", function () { if (player.isHealthy()) player.draw(2); player.addSkills("tenzen_tianquan"); }, + ai: { + combo: "tenzen_yixing" + }, }, tenzen_tianquan: { trigger: { player: "useCardToPlayered" }, @@ -7007,6 +7010,7 @@ game.import("character", function () { tag: { rejudge: 0.6, }, + combo: "shiroha_yuzhao" }, derivation: ["umi_chaofan", "ao_xishi", "tsumugi_mugyu", "kamome_jieban"], }, @@ -10050,6 +10054,9 @@ game.import("character", function () { player.gainMaxHp(); player.recover(); }, + ai: { + combo: "ao_kuihun" + }, }, ao_diegui: { enable: "phaseUse", @@ -10741,6 +10748,9 @@ game.import("character", function () { player.recover(); player.addSkills("riki_chongzhen"); }, + ai: { + combo: "riki_spwenji" + }, }, riki_chongzhen: { trigger: { @@ -14163,6 +14173,9 @@ game.import("character", function () { player.addSkill("nsliegong"); }, derivation: "nsliegong", + ai: { + combo: "nsdiewu" + }, }, nsliegong: { inherit: "xinliegong", @@ -14692,6 +14705,9 @@ game.import("character", function () { player.gainMaxHp(2); }, derivation: ["nsdiemou", "nszhihuang"], + ai: { + combo: "nsjiquan" + }, }, nsdiemou: { trigger: { player: "phaseUseBegin" }, @@ -14706,6 +14722,9 @@ game.import("character", function () { player.loseToDiscardpile(cards); if (cards.length > 4) player.turnOver(); }, + ai: { + combo: "nsjiquan" + }, }, nszhihuang: { group: "nszhihuang_damage", @@ -14741,6 +14760,9 @@ game.import("character", function () { player.loseToDiscardpile(result.links); player.gain(trigger.cards.filterInD(), "gain2", "log"); }, + ai: { + combo: "nsjiquan" + }, }, nszhihuang_damage: { trigger: { source: "damageBegin1" }, @@ -18580,6 +18602,9 @@ game.import("character", function () { event.goto(1); } }, + ai: { + combo: "nshuanxian" + }, }, nsshoudao: { group: ["nsshoudao_gain", "nsshoudao_die"], @@ -18660,6 +18685,9 @@ game.import("character", function () { }, }, }, + ai: { + combo: "nshuanxian" + }, }, nshuanxian: { trigger: { global: "gameStart", player: "enterGame" }, diff --git a/character/extra.js b/character/extra.js index 9e10134e4..1be166f7a 100755 --- a/character/extra.js +++ b/character/extra.js @@ -4865,7 +4865,6 @@ game.import("character", function () { }, }, ai: { - combo: "yingba", effect: { target(card, player, target) { if ( diff --git a/character/huicui.js b/character/huicui.js index 911b55005..a4a723629 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -446,6 +446,9 @@ game.import("character", function () { await player.changeSkills(["dcfudou"], ["dcjianzhuan"]); }, derivation: "dcfudou", + ai: { + combo: "dcjianzhuan" + }, }, dcfudou: { audio: 2, @@ -899,9 +902,6 @@ game.import("character", function () { ai: { combo: "dcjichou", }, - ai:{ - combo:'dcjichou' - } }, dczifu: { audio: 2, diff --git a/character/jsrg.js b/character/jsrg.js index 519f384de..d5015f55d 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -9476,6 +9476,9 @@ game.import("character", function () { "step 1"; player.addSkills(["jsrgpingrong", "feiying"]); }, + ai: { + combo: "jsrgzhenglve" + }, }, jsrgpingrong: { audio: 2, diff --git a/character/mobile.js b/character/mobile.js index b1f64de3a..0a4992fc2 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -13198,6 +13198,9 @@ game.import("character", function () { event.chara[event.skills.indexOf(result.control)], ]); }, + ai: { + combo: "baiyi" + }, }, hongyi: { audio: 2, @@ -15255,6 +15258,9 @@ game.import("character", function () { player.addSkills("reqingce"); player.loseMaxHp(); }, + ai: { + combo: "rezhengrong" + }, }, reqingce: { enable: "phaseUse", @@ -17044,6 +17050,9 @@ game.import("character", function () { player.gainMaxHp(); player.recover(); }, + ai: { + combo: "relianji" + }, }, shouye: { audio: 2, diff --git a/character/offline.js b/character/offline.js index 0cacc93f9..f606dda50 100644 --- a/character/offline.js +++ b/character/offline.js @@ -6233,9 +6233,10 @@ game.import("character", function () { if (event.lose && event.lose.loseHp) player.draw(); }, ai: { + halfneg: true, filterDamage: true, skillTagFilter: function (player, tag, arg) { - if (arg && arg.player) { + if (tag === "filterDamage" && arg && arg.player) { if (arg.player.hasSkillTag("jueqing", false, player)) return false; } }, diff --git a/character/sb.js b/character/sb.js index 34cea4aeb..a294009df 100644 --- a/character/sb.js +++ b/character/sb.js @@ -4772,6 +4772,9 @@ game.import("character", function () { }, }, }, + ai: { + combo: "sbtiaoxin" + }, }, //刘备 sbrende: { diff --git a/character/shenhua.js b/character/shenhua.js index c4413fa7b..607075312 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -881,6 +881,9 @@ game.import("character", function () { game.log(player, "获得了技能", "#g【清侧】"); player.loseMaxHp(); }, + ai: { + combo: "zhengrong" + }, }, qingce: { enable: "phaseUse", @@ -1054,6 +1057,9 @@ game.import("character", function () { player.addSkills("drlt_qingce"); player.loseMaxHp(); }, + ai: { + combo: "drlt_zhengrong" + }, }, drlt_qingce: { audio: 2, diff --git a/character/sp.js b/character/sp.js index cd536aa5a..0369fcf97 100755 --- a/character/sp.js +++ b/character/sp.js @@ -6910,6 +6910,9 @@ game.import("character", function () { var stat = player.getStat().skill; delete stat.gushe; }, + ai: { + combo: "gushe" + }, }, //OL刘老板 olpianan: { @@ -21827,6 +21830,9 @@ game.import("character", function () { }, }, }, + ai: { + combo: "wylianji" + }, }, jingong: { audio: 2, @@ -27090,6 +27096,7 @@ game.import("character", function () { content: "mark", }, ai: { + neg: true, effect: { target: function (card, player, target, current) { if (card.name == "sha") { @@ -28757,6 +28764,9 @@ game.import("character", function () { player.recover(); player.changeSkills(["xiaoji"], ["liangzhu"]); }, + ai: { + combo: "liangzhu" + }, }, mingshi: { audio: 2, diff --git a/character/tw.js b/character/tw.js index 8dd60c1f1..9c1cc61cd 100644 --- a/character/tw.js +++ b/character/tw.js @@ -9500,6 +9500,9 @@ game.import("character", function () { game.delayx(); } }, + ai: { + combo: "twzhengrong" + }, }, twqingce: { enable: "phaseUse", diff --git a/character/xianding.js b/character/xianding.js index de3770174..aa1b34a2c 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -14688,6 +14688,9 @@ game.import("character", function () { if (event.goon) player.recover(); } }, + ai: { + combo: "yuqi" + }, }, xianjing: { audio: 2, @@ -14776,6 +14779,9 @@ game.import("character", function () { player.markSkill("yuqi"); } }, + ai: { + combo: "yuqi" + }, }, //周夷 zhukou: { @@ -17263,6 +17269,9 @@ game.import("character", function () { target.addSkills("hmxili"); } }, + ai: { + combo: "mansi" + }, }, hmxili: { trigger: { global: "damageBegin1" }, diff --git a/character/yijiang.js b/character/yijiang.js index 7390877f7..362d323c9 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -2629,6 +2629,9 @@ game.import("character", function () { content: function () { player.loseMaxHp(); }, + ai: { + neg: true + }, }, xindanshou: { audio: 2,