From 8371b581e27aa2f512510b44d6c693337814f657 Mon Sep 17 00:00:00 2001 From: S-N-O-R-L-A-X Date: Sun, 21 Jul 2024 10:50:16 +0800 Subject: [PATCH] feat: add sgkuanggu --- .../source/packages/main/skill.js" | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git "a/game/resources/app/extension/\345\244\247\346\210\230\344\270\203\351\230\264/source/packages/main/skill.js" "b/game/resources/app/extension/\345\244\247\346\210\230\344\270\203\351\230\264/source/packages/main/skill.js" index 62b7073..a20d149 100644 --- "a/game/resources/app/extension/\345\244\247\346\210\230\344\270\203\351\230\264/source/packages/main/skill.js" +++ "b/game/resources/app/extension/\345\244\247\346\210\230\344\270\203\351\230\264/source/packages/main/skill.js" @@ -7379,6 +7379,22 @@ export const skill = { player.draw(); }, }, + sgkuanggu: { + audio: "kuanggu", + trigger: { source: "damageSource" }, + frequent: true, + filter: function (event, player) { + return player.isDamaged(); + }, + content: function () { + "step 0"; + player.judge(function (result) { + return get.color(result) == "black" ? 2 : -2; + }); + "step 1"; + if (result.bool == true) player.recover(); + }, + }, }, @@ -7787,6 +7803,9 @@ export const skill = { "re_boss_reborn_caoxiancaohua2": "重生", "re_boss_reborn_caoxiancaohua2_info": "锁定技,当你死亡时,你将此武将牌替换为灵杉玉树。", + "sgkuanggu": "狂骨", + "sgkuanggu_info": "当你造成伤害后,若你已受伤,你可以进行判定:若结果为黑色,你回复1点体力。", + // shanhetu_boss_caiyong "re_boss_chenghu": "成虎", "re_boss_chenghu_info": "锁定技,游戏第3轮以及之后每进行3轮时,出牌阶段你可以使用的【杀】限制次数+1(可无限增强)。",