部分bug修复
This commit is contained in:
parent
035a6745ea
commit
e6a88a0c27
|
@ -91,9 +91,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
hs_kazhakusi:['male','shu',3,['lianjin']],
|
hs_kazhakusi:['male','shu',3,['lianjin']],
|
||||||
// hs_lazi:['male','wei',3,[]],
|
// hs_lazi:['male','wei',3,[]],
|
||||||
hs_shaku:['male','wei',3,['shouji']],
|
hs_shaku:['male','wei',3,['shouji']],
|
||||||
hs_laxiao:['male','shu',3,['guimou','yingxi','hlongyi']],
|
hs_laxiao:['male','shu',3,['hsguimou','yingxi','hlongyi']],
|
||||||
// hs_xiangyaqishi:['male','wei',3,[]],
|
// hs_xiangyaqishi:['male','wei',3,[]],
|
||||||
// hs_fenjie:['male','shu',3,['guimou','yingxi']],
|
// hs_fenjie:['male','shu',3,['hsguimou','yingxi']],
|
||||||
hs_mojinbaozi:['male','wei',3,['jingcu','shengzhang']],
|
hs_mojinbaozi:['male','wei',3,['jingcu','shengzhang']],
|
||||||
hs_shuiwenxuejia:['male','wu',3,['kekao']],
|
hs_shuiwenxuejia:['male','wu',3,['kekao']],
|
||||||
hs_shizugui:['male','wu',3,['szbianshen']],
|
hs_shizugui:['male','wu',3,['szbianshen']],
|
||||||
|
@ -3666,7 +3666,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger.directHit=true;
|
trigger.directHit=true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
guimou:{
|
hsguimou:{
|
||||||
trigger:{player:'damageEnd'},
|
trigger:{player:'damageEnd'},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return get.attitude(player,event.source)<=0;
|
return get.attitude(player,event.source)<=0;
|
||||||
|
@ -9827,8 +9827,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
lianjin_info:'出牌阶段限一次,你可以弃置一张牌并获得一张由三张随机牌组成的药水;当你因弃置而失去药水牌时,你随机获得药水的组成卡牌之一。',
|
lianjin_info:'出牌阶段限一次,你可以弃置一张牌并获得一张由三张随机牌组成的药水;当你因弃置而失去药水牌时,你随机获得药水的组成卡牌之一。',
|
||||||
shouji:'收集',
|
shouji:'收集',
|
||||||
shouji_info:'每当你使用一张杀,你可以获得一张目标随机手牌的复制;每当你的杀被闪避,你可以获得一张目标随机非特殊装备牌的复制;每回合限各限一次。',
|
shouji_info:'每当你使用一张杀,你可以获得一张目标随机手牌的复制;每当你的杀被闪避,你可以获得一张目标随机非特殊装备牌的复制;每回合限各限一次。',
|
||||||
guimou:'鬼谋',
|
hsguimou:'鬼谋',
|
||||||
guimou_info:'每当你受到一次伤害,你可以获得伤害来源的一张手牌,若此牌是黑色,你展示此牌并重复此过程。',
|
hsguimou_info:'每当你受到一次伤害,你可以获得伤害来源的一张手牌,若此牌是黑色,你展示此牌并重复此过程。',
|
||||||
yingxi:'影袭',
|
yingxi:'影袭',
|
||||||
yingxi_info:'结束阶段,若你本回合未造成伤害,你可以将一张黑色牌当作杀对任意一名角色使用,若目标未受到伤害,此杀不可闪避。',
|
yingxi_info:'结束阶段,若你本回合未造成伤害,你可以将一张黑色牌当作杀对任意一名角色使用,若目标未受到伤害,此杀不可闪避。',
|
||||||
peiyu:'培育',
|
peiyu:'培育',
|
||||||
|
|
|
@ -2754,7 +2754,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
subSkill:{
|
subSkill:{
|
||||||
damage:{
|
damage:{
|
||||||
trigger:{source:'damageBegin3'},
|
trigger:{source:'damageBegin1'},
|
||||||
forced:true,
|
forced:true,
|
||||||
charlotte:true,
|
charlotte:true,
|
||||||
onremove:true,
|
onremove:true,
|
||||||
|
|
|
@ -499,7 +499,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
trigger:{global:'useCard'},
|
trigger:{global:'useCard1'},
|
||||||
forced:true,
|
forced:true,
|
||||||
popup:false,
|
popup:false,
|
||||||
content:function(){
|
content:function(){
|
||||||
|
@ -16244,7 +16244,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
guimou:'诡谋',
|
guimou:'诡谋',
|
||||||
guimou_info:'锁定技。游戏开始时/回合结束时,你随机/须选择以下一项直到你的下个准备阶段:①记录场上期间角色使用牌数;②记录期间场上角色弃置牌数;③记录期间场上角色获得牌数。准备阶段,你可以选择一名场上对应记录数值最少的其他角色,观看其手牌并选择其中至多三张牌,然后你可以将其中至多两张牌交给另一名其他角色,然后弃置其余牌。',
|
guimou_info:'锁定技。游戏开始时/回合结束时,你随机/须选择以下一项直到你的下个准备阶段:①记录场上期间角色使用牌数;②记录期间场上角色弃置牌数;③记录期间场上角色获得牌数。准备阶段,你可以选择一名场上对应记录数值最少的其他角色,观看其手牌并选择其中至多三张牌,然后你可以将其中至多两张牌交给另一名其他角色,然后弃置其余牌。',
|
||||||
zhouxian:'州贤',
|
zhouxian:'州贤',
|
||||||
zhouxian_info:'锁定技,当你成为其他角色使用的伤害类卡牌的目标后,你亮出牌堆顶的两张牌,然后其须选择一项:①弃置一张与亮出牌之一类别相同的牌;②令此牌对你无效。',
|
zhouxian_info:'锁定技。当你成为其他角色使用的伤害类卡牌的目标后,你亮出牌堆顶的两张牌,然后其须选择一项:①弃置一张与亮出牌之一类别相同的牌;②令此牌对你无效。',
|
||||||
mb_huban:'手杀胡班',
|
mb_huban:'手杀胡班',
|
||||||
mb_huban_prefix:'手杀',
|
mb_huban_prefix:'手杀',
|
||||||
mbyilie:'义烈',
|
mbyilie:'义烈',
|
||||||
|
|
|
@ -15530,7 +15530,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
re_simalang:'界司马朗',
|
re_simalang:'界司马朗',
|
||||||
re_simalang_prefix:'界',
|
re_simalang_prefix:'界',
|
||||||
requji:'去疾',
|
requji:'去疾',
|
||||||
requji_info:'出牌阶段限一次,你可以弃置至多X张牌并令等量名角色回复1点体力,然后仍处于受伤状态的目标角色摸一张牌,若你以此法弃置了黑色牌,你失去1点体力。',
|
requji_info:'出牌阶段限一次,你可以弃置至多X张牌并令等量名角色回复1点体力,然后仍处于受伤状态的目标角色摸一张牌,若你以此法弃置了黑色牌,你失去1点体力(X为你已损失的体力值)。',
|
||||||
rejunbing:'郡兵',
|
rejunbing:'郡兵',
|
||||||
rejunbing_info:'一名角色的结束阶段,若其手牌数小于其体力值,其可以摸一张牌并将所有手牌交给你,然后你可以交给其等量的牌。',
|
rejunbing_info:'一名角色的结束阶段,若其手牌数小于其体力值,其可以摸一张牌并将所有手牌交给你,然后你可以交给其等量的牌。',
|
||||||
re_zhugedan:'界诸葛诞',
|
re_zhugedan:'界诸葛诞',
|
||||||
|
|
|
@ -195,7 +195,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
sbyijue:{
|
sbyijue:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{source:'damageBegin3'},
|
trigger:{source:'damageBegin2'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.num>=event.player.hp&&!player.getStorage('sbyijue').includes(event.player);
|
return event.num>=event.player.hp&&!player.getStorage('sbyijue').includes(event.player);
|
||||||
},
|
},
|
||||||
|
|
|
@ -1527,9 +1527,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(player.countCards('h')!=1||typeof get.number(player.getCards('h')[0],player)!='number') return false;
|
if(player.countCards('h')!=1||typeof get.number(player.getCards('h')[0],player)!='number') return false;
|
||||||
if(player.hasSkill('hezhong_0')&&player.hasSkill('hezhong_1')) return false;
|
if(player.hasSkill('hezhong_0')&&player.hasSkill('hezhong_1')) return false;
|
||||||
if(event.getg) return event.getg(player).length;
|
let gain=0,lose=0;
|
||||||
var evt=event.getl(player);
|
if(event.getg) gain=event.getg(player).length;
|
||||||
return evt&&evt.player==player&&evt.hs&&evt.hs.length>0;
|
if(event.getl) lose=event.getl(player).hs.length;
|
||||||
|
return gain!=lose;
|
||||||
},
|
},
|
||||||
prompt2:function(event,player){
|
prompt2:function(event,player){
|
||||||
var str='展示最后一张手牌并摸一张牌';
|
var str='展示最后一张手牌并摸一张牌';
|
||||||
|
@ -1590,6 +1591,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(get.type(event.card)!='trick') return false;
|
if(get.type(event.card)!='trick') return false;
|
||||||
|
if(!event.targets.length) return false;
|
||||||
var num=get.number(event.card,player);
|
var num=get.number(event.card,player);
|
||||||
return typeof num=='number'&&player.getStorage('hezhong_0').some(numx=>num>numx);
|
return typeof num=='number'&&player.getStorage('hezhong_0').some(numx=>num>numx);
|
||||||
},
|
},
|
||||||
|
@ -1626,6 +1628,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(get.type(event.card)!='trick') return false;
|
if(get.type(event.card)!='trick') return false;
|
||||||
|
if(!event.targets.length) return false;
|
||||||
var num=get.number(event.card,player);
|
var num=get.number(event.card,player);
|
||||||
return typeof num=='number'&&player.getStorage('hezhong_1').some(numx=>num<numx);
|
return typeof num=='number'&&player.getStorage('hezhong_1').some(numx=>num<numx);
|
||||||
},
|
},
|
||||||
|
|
|
@ -344,7 +344,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
//无 双 万 军 取 首
|
//无 双 万 军 取 首
|
||||||
dcsbronghuo:{
|
dcsbronghuo:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard1'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return (event.card.name=='sha'&&game.hasNature(event.card,'fire'))||event.card.name=='huogong';
|
return (event.card.name=='sha'&&game.hasNature(event.card,'fire'))||event.card.name=='huogong';
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue