添加技能语音
This commit is contained in:
parent
26ecb59d51
commit
a11f8906d0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -397,7 +397,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
//散装版糜夫人
|
||||
dcguixiu:{
|
||||
audio:2,
|
||||
audio:'guixiu',
|
||||
trigger:{
|
||||
player:'phaseBegin',
|
||||
},
|
||||
|
@ -413,7 +413,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
subSkill:{
|
||||
rec:{
|
||||
audio:'dcguixiu',
|
||||
audio:'guixiu',
|
||||
trigger:{
|
||||
player:'logSkillAfter',
|
||||
},
|
||||
|
@ -428,12 +428,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
dccunsi:{
|
||||
audio:2,
|
||||
audio:'cunsi',
|
||||
enable:'phaseUse',
|
||||
limited:true,
|
||||
skillAnimation:true,
|
||||
animationColor:'orange',
|
||||
filterTarget:true,
|
||||
derivation:'dcyongjue',
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.awakenSkill('dccunsi');
|
||||
|
@ -448,7 +449,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
dcyongjue:{
|
||||
audio:2,
|
||||
audio:'yongjue',
|
||||
trigger:{
|
||||
player:'useCard',
|
||||
},
|
||||
|
@ -499,7 +500,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
//散装版甘夫人
|
||||
dcshushen:{
|
||||
audio:2,
|
||||
audio:'shushen',
|
||||
trigger:{
|
||||
player:'recoverEnd',
|
||||
},
|
||||
|
@ -546,7 +547,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
dcshenzhi:{
|
||||
audio:2,
|
||||
audio:'shenzhi',
|
||||
trigger:{
|
||||
player:'phaseZhunbeiBegin',
|
||||
},
|
||||
|
@ -21813,6 +21814,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
group:'reyixiang_card',
|
||||
subSkill:{
|
||||
card:{
|
||||
audio:'yixiang',
|
||||
audioname:['re_taoqian'],
|
||||
trigger:{target:'useCardToTargeted'},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
|
|
|
@ -314,6 +314,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
else{
|
||||
if(lib.filter.canBeDiscarded(card,target,player)){
|
||||
target.discard(card,'notBySelf');
|
||||
target.draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -445,6 +446,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
filter:function(event,player){
|
||||
if(!player.isPhaseUsing()) return false;
|
||||
if(player==event.player) return false;
|
||||
if(!event.player.isIn()) return false;
|
||||
return event.card.name=='sha'||get.type(event.card)=='trick'&&get.tag(event.card,'damage');
|
||||
},
|
||||
logTarget:'player',
|
||||
|
@ -4328,7 +4330,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
preHidden:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
var forced=event.getParent(2).name=='twshuangren_end';
|
||||
var forced=event.getParent(2).name=='twshuangren_end'&&game.hasPlayer(current=>{
|
||||
return player.canCompare(current);
|
||||
});
|
||||
var str='与一名角色拼点,若你:赢,你可以视为对至多两名至其的距离不大于1的角色使用一张【杀】;没赢,其可以视为对你使用一张【杀】';
|
||||
player.chooseTarget(forced?'双刃:选择一名角色':get.prompt('twshuangren'),str,forced,(card,player,target)=>{
|
||||
return player.canCompare(target);
|
||||
|
|
Loading…
Reference in New Issue