解禁新杀杜预和郤正
This commit is contained in:
parent
93317a9030
commit
c6b55734a3
|
@ -706,7 +706,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
yonglv_info:'锁定技。其他角色至你的距离视为1。',
|
||||
yonglv_append:'<span class="text" style="font-family: yuanli">它旁边的就是王仲宣。</span>',
|
||||
zhanxiang:'战象',
|
||||
zhanxiang_info:'锁定技。当你成为〖赠予〗的目标后,你将此次赠予的效果改为“将赠予牌移动至弃牌堆”。',
|
||||
zhanxiang_info:'锁定技。①其他角色至你的距离+1。②当你成为〖赠予〗的目标后,你将此次赠予的效果改为“将赠予牌移动至弃牌堆”。',
|
||||
xinge:'信鸽',
|
||||
xinge_info:'出牌阶段限一次。你可以将一张手牌交给一名其他角色。',
|
||||
xinge_append:'<span class="text" style="font-family: yuanli">咕咕咕。</span>',
|
||||
|
|
|
@ -11,7 +11,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
zhangkai:['male','qun',4,['dcxiangshu']],
|
||||
gaoxiang:['male','shu',4,['dcchiying'],['unseen']],
|
||||
yuanyin:['male','qun',3,['dcmoshou','dcyunjiu'],['unseen']],
|
||||
dongwan:['female','qun',3,['dcshengdu','dcxianjiao'],['unseen']],
|
||||
dongwan:['female','qun',3,['dcshengdu','dcjieling'],['unseen']],
|
||||
zhangchu:['female','qun',3,['dcjizhong','dcrihui','dcguangshi']],
|
||||
peiyuanshao:['male','qun',4,['dcmoyu'],['unseen']],
|
||||
mengjie:['male','qun',3,['dcyinlu','dcyouqi']],
|
||||
|
@ -1051,7 +1051,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var att=get.attitude(player,target);
|
||||
var eff=get.effect(target,{
|
||||
name:'sha',
|
||||
storage:{dcxianjiao:true},
|
||||
storage:{dcjieling:true},
|
||||
},player,player);
|
||||
var value=att/5;
|
||||
if(value<0) value=-value/1.3;
|
||||
|
@ -1102,14 +1102,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
},
|
||||
dcxianjiao:{
|
||||
dcjieling:{
|
||||
audio:2,
|
||||
enable:'phaseUse',
|
||||
usable:1,
|
||||
position:'hs',
|
||||
viewAs:{
|
||||
name:'sha',
|
||||
storage:{dcxianjiao:true}
|
||||
storage:{dcjieling:true}
|
||||
},
|
||||
filterCard:function(card,player){
|
||||
if(ui.selected.cards.length){
|
||||
|
@ -1123,7 +1123,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return 6-get.value(card);
|
||||
},
|
||||
precontent:function(){
|
||||
player.addTempSkill('dcxianjiao_after');
|
||||
player.addTempSkill('dcjieling_after');
|
||||
event.getParent().addCount=false;
|
||||
},
|
||||
ai:{
|
||||
|
@ -1134,7 +1134,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
locked:false,
|
||||
mod:{
|
||||
targetInRange:function(card){
|
||||
if(card.storage&&card.storage.dcxianjiao) return true;
|
||||
if(card.storage&&card.storage.dcjieling) return true;
|
||||
},
|
||||
},
|
||||
subSkill:{
|
||||
|
@ -1144,7 +1144,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
direct:true,
|
||||
charlotte:true,
|
||||
filter:function(event,player){
|
||||
return event.card.name=='sha'&&event.card.storage&&event.card.storage.dcxianjiao;
|
||||
return event.card.name=='sha'&&event.card.storage&&event.card.storage.dcjieling;
|
||||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
|
@ -1152,7 +1152,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return current.hasHistory('damage',evt=>evt.card==trigger.card);
|
||||
});
|
||||
var targets=trigger.targets.filter(i=>i.isIn());
|
||||
player.logSkill('dcxianjiao_after',targets);
|
||||
player.logSkill('dcjieling_after',targets);
|
||||
if(damaged){
|
||||
for(var target of targets){
|
||||
target.loseHp();
|
||||
|
@ -10204,8 +10204,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
dongwan:'董绾',
|
||||
dcshengdu:'生妒',
|
||||
dcshengdu_info:'回合开始时,你可以选择一名其他角色。当其于其的下个摸牌阶段获得牌后,你摸等量的牌。',
|
||||
dcxianjiao:'献绞',
|
||||
dcxianjiao_info:'出牌阶段限一次。你可以将两张颜色不同的手牌当无距离限制且无任何次数限制的【杀】使用。然后若此【杀】:造成了伤害,所有目标角色失去1点体力;未造成伤害,你对所有目标角色依次发动一次〖生妒〗。',
|
||||
dcjieling:'介绫',
|
||||
dcjieling_info:'出牌阶段限一次。你可以将两张颜色不同的手牌当无距离限制且无任何次数限制的【杀】使用。然后若此【杀】:造成了伤害,所有目标角色失去1点体力;未造成伤害,你对所有目标角色依次发动一次〖生妒〗。',
|
||||
yuanyin:'袁胤',
|
||||
dcmoshou:'墨守',
|
||||
dcmoshou_info:'当你成为其他角色使用的黑色牌的目标后,你可以摸X张牌(X为你本局游戏此前发动过此技能的次数÷3的余数+1)。',
|
||||
|
|
|
@ -4,7 +4,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
name:'xianding',
|
||||
connect:true,
|
||||
character:{
|
||||
dc_duyu:['male','wei',3,['dcjianguo','dcdyqingshi'],['unseen']],
|
||||
dc_duyu:['male','wei',4,['dcjianguo','dcdyqingshi']],
|
||||
ganfurenmifuren:['female','shu',3,['dcchanjuan','dcxunbie']],
|
||||
dc_ganfuren:['female','shu',3,['dcshushen','dcshenzhi']],
|
||||
dc_mifuren:['female','shu',3,['dcguixiu','dccunsi']],
|
||||
|
@ -16,7 +16,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
huanfan:['male','wei',3,['dcjianzheng','dcfumou']],
|
||||
chentai:['male','wei',4,['dcctjiuxian','dcchenyong']],
|
||||
sunyu:['male','wu',3,['dcquanshou','dcshexue'],['unseen']],
|
||||
xizheng:['male','shu',3,['dcdanyi','dcwencan'],['unseen']],
|
||||
xizheng:['male','shu',3,['dcdanyi','dcwencan']],
|
||||
dc_ruiji:['female','wu',4,['dcwangyuan','dclingyin','dcliying']],
|
||||
zerong:['male','qun',4,['dccansi','dcfozong']],
|
||||
xielingyu:['female','wu',3,['dcyuandi','dcxinyou']],
|
||||
|
@ -1556,6 +1556,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
storage:{dcctjiuxian:true}
|
||||
},true);
|
||||
},
|
||||
ai:{
|
||||
order:5.5,
|
||||
result:{player:1},
|
||||
},
|
||||
subSkill:{
|
||||
help:{
|
||||
trigger:{global:'damageSource'},
|
||||
|
@ -1827,12 +1831,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(!event.targets||!event.targets.length) return false;
|
||||
var evt=lib.skill.dcjianying.getLastUsed(player,event.getParent());
|
||||
if(!evt||!evt.targets||!evt.targets.length||evt.targets.length!=event.targets.length) return false;
|
||||
var targetsx=event.targets.slice().sort((a,b)=>a.seatNum-b.seatNum);
|
||||
var targetsy=evt.targets.slice().sort((a,b)=>a.seatNum-b.seatNum);
|
||||
for(var i=0;i<targetsx.length;i++){
|
||||
if(targetsx[i]!=targetsy[i]) return false;
|
||||
}
|
||||
return true;
|
||||
var targetsx=event.targets.slice();
|
||||
var targetsy=evt.targets.slice();
|
||||
return targetsx.slice().removeArray(targetsy).length==0&&targetsy.slice().removeArray(targetsx).length==0;
|
||||
},
|
||||
frequent:true,
|
||||
locked:false,
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Reference in New Issue