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