From 27c90a4ea7c7464dafd7be4f83c7ca7893f949f5 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=85=B3=E7=BE=BD=E3=80=90=E6=AD=A6?= =?UTF-8?q?=E9=AD=82=E3=80=91=EF=BC=8C=E9=AB=98=E8=BE=BE=E4=B8=80=E5=8F=B7?= =?UTF-8?q?=E3=80=90=E7=BB=9D=E5=A2=83=E3=80=91=E3=80=90=E9=BE=99=E9=AD=82?= =?UTF-8?q?=E3=80=91=E6=8A=80=E8=83=BD=E9=85=8D=E9=9F=B3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/extra.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/character/extra.js b/character/extra.js index 1fcc8cd72..cd1a4e469 100755 --- a/character/extra.js +++ b/character/extra.js @@ -621,6 +621,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ twshelie:{ audio:'shelie', inherit:'shelie', + prompt2:()=>lib.translate.shelie_info, group:'twshelie_jingce', //什么精策技能啊喂! subSkill:{ @@ -1290,6 +1291,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ shaRelated:true, }, twwuhun:{ + audio:2, trigger:{player:'die'}, forceDie:true, skillAnimation:true, @@ -1542,6 +1544,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, init:{ + audio:'shouli', trigger:{ global:'phaseBefore', player:'enterGame', @@ -3325,6 +3328,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } }, boss_juejing:{ + audio:'juejing', trigger:{player:'phaseDrawBefore'}, forced:true, content:function(){ @@ -3337,6 +3341,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ group:'boss_juejing2' }, boss_juejing2:{ + audio:'juejing', trigger:{ player:'loseAfter', global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','addToExpansionAfter'], @@ -4056,7 +4061,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, }, - wuhun21:{audio:true}, + wuhun2:{audio:2}, + wuhun21:{ + audio:true, + skillAnimation:true, + animationColor:'soil', + }, wuhun22:{ audio:true, skillAnimation:true, @@ -4068,7 +4078,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ animationColor:'soil', }, "new_wuhun":{ - audio:"wuhun21", + audio:"wuhun2", group:["new_wuhun_mark","new_wuhun_die","wuhun22","wuhun23"], trigger:{ player:"damageEnd", @@ -4114,7 +4124,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(result.bool&&result.targets&&result.targets.length){ var target=result.targets[0]; event.target=target; - player.logSkill(Math.random()<0.5?'wuhun22':'wuhun23',target); + player.logSkill(Math.random()<0.5?'wuhun21':'wuhun22',target); player.line(target,{color:[255, 255, 0]}); game.delay(2); } @@ -5884,6 +5894,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(filter({name:'wuxie'},player,event)&&player.countCards('hes',{suit:'spade'})) return true; return false; }, + precontent:function(){ + delete event.result.skill; + player.logSkill('longhun'+(4-lib.suit.indexOf(get.suit(event.result.cards[0],player)))); + }, ai:{ respondSha:true, respondShan:true,