xinhongyan nzry_mingren添加audioname

This commit is contained in:
mengxinzxz 2023-10-10 23:23:33 +08:00 committed by GitHub
parent 48b826b782
commit 3ffc7b0d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -2270,6 +2270,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
nzry_mingren:{ nzry_mingren:{
audio:"nzry_mingren_1", audio:"nzry_mingren_1",
audioname:['sb_yl_luzhi'],
marktext:"任", marktext:"任",
intro:{ intro:{
content:'expansion', content:'expansion',
@ -2283,6 +2284,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
1:{ 1:{
audio:2, audio:2,
audioname:['sb_yl_luzhi'],
trigger:{ trigger:{
global:'phaseBefore', global:'phaseBefore',
player:'enterGame', player:'enterGame',
@ -2307,7 +2309,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
2:{ 2:{
audio:2,
trigger:{ trigger:{
player:'phaseJieshuBegin', player:'phaseJieshuBegin',
}, },
@ -2317,7 +2318,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
direct:true, direct:true,
content:function(){ content:function(){
'step 0' 'step 0'
player.chooseCard('h','是否用一张手牌替换“任”('+get.translation(player.getExpansions('nzry_mingren')[0])+'').set('ai',function(card){ player.chooseCard('h',get.prompt('nzry_mingren'),'选择一张手牌替换“任”('+get.translation(player.getExpansions('nzry_mingren')[0])+'').set('ai',function(card){
var player=_status.event.player; var player=_status.event.player;
var color=get.color(card); var color=get.color(card);
if(color==get.color(player.getExpansions('nzry_mingren')[0])) return false; if(color==get.color(player.getExpansions('nzry_mingren')[0])) return false;
@ -6922,6 +6923,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
xinhongyan:{ xinhongyan:{
audio:2, audio:2,
audioname:['sb_xiaoqiao'],
mod:{ mod:{
suit:function(card,suit){ suit:function(card,suit){
if(suit=='spade') return 'heart'; if(suit=='spade') return 'heart';