回调shuangxiong1和shuangxiong2的audio为true,修复手杀双头发动双雄转化决斗没有配音的bug

This commit is contained in:
mengxinzxz 2024-02-16 20:54:01 +08:00
parent 3d50b3daf7
commit bac4d9fe0b
2 changed files with 13 additions and 8 deletions

View File

@ -11445,11 +11445,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
group:['reshuangxiong1',"reshuangxiong2"], group:['reshuangxiong1',"reshuangxiong2"],
}, },
reshuangxiong1:{ reshuangxiong1:{
audio:"shuangxiong", audio:"shuangxiong1",
audioname:['re_yanwen'], audioname2:{
trigger:{ re_yanwen:'shuangxiong_re_yanwen1',
player:"phaseDrawBegin1",
}, },
trigger:{player:"phaseDrawBegin1"},
check:function (event,player){ check:function (event,player){
if(player.countCards('h')>player.hp) return true; if(player.countCards('h')>player.hp) return true;
if(player.countCards('h')>3) return true; if(player.countCards('h')>3) return true;

View File

@ -5940,10 +5940,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2, audio:2,
audioname:['re_yanwen'], audioname:['re_yanwen'],
group:'shuangxiong1', group:'shuangxiong1',
subSkill:{
re_yanwen1:{audio:true},
re_yanwen2:{audio:true},
},
}, },
shuangxiong1:{ shuangxiong1:{
audio:"shuangxiong", audio:true,
audioname:['re_yanwen'],
trigger:{player:'phaseDrawBegin1'}, trigger:{player:'phaseDrawBegin1'},
check:function(event,player){ check:function(event,player){
if(player.countCards('h')>player.hp) return true; if(player.countCards('h')>player.hp) return true;
@ -5968,8 +5971,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shuangxiong2:{ shuangxiong2:{
charlotte:true, charlotte:true,
onremove:true, onremove:true,
audio:"shuangxiong", audio:true,
audioname:['re_yanwen'], audioname2:{
re_yanwen:'shuangxiong_re_yanwen2',
},
enable:'chooseToUse', enable:'chooseToUse',
viewAs:{name:'juedou'}, viewAs:{name:'juedou'},
position:'hs', position:'hs',