commit
1792b5581d
|
@ -816,24 +816,20 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
enable:'phaseUse',
|
||||
filter:function(event,player){
|
||||
return player.storage.drlt_zhenrong&&player.storage.drlt_zhenrong.length>0;
|
||||
return player.getExpansions('drlt_zhenrong').length>0;
|
||||
},
|
||||
filterTarget:function(card,player,target){
|
||||
return target.countDiscardableCards(player,'ej')>0;
|
||||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.chooseCardButton(player.storage.drlt_zhenrong,1,'请选择需要弃置的“荣”',true).ai=function(button){
|
||||
player.chooseCardButton(player.getExpansions('drlt_zhenrong'),1,'请选择需要弃置的“荣”',true).ai=function(button){
|
||||
return 6-get.value(button.link);
|
||||
};
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
var cards=result.links;
|
||||
for(var i=0;i<cards.length;i++){
|
||||
player.storage.drlt_zhenrong.remove(cards[i]);
|
||||
}
|
||||
player.syncStorage('drlt_zhenrong');
|
||||
player.$throw(cards);
|
||||
player.loseToDiscardpile(cards);
|
||||
player.discardPlayerCard(target,'ej',1,true);
|
||||
}
|
||||
},
|
||||
|
@ -7289,6 +7285,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
},
|
||||
// 蛊惑(guhuo)技能错误,请勿引用
|
||||
/*
|
||||
guhuo:{
|
||||
enable:'phaseUse',
|
||||
usable:1,
|
||||
|
@ -7357,6 +7355,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
threaten:1.6,
|
||||
}
|
||||
},
|
||||
*/
|
||||
huangtian:{
|
||||
unique:true,
|
||||
audio:'huangtian2',
|
||||
|
|
|
@ -917,10 +917,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(result2.bool){
|
||||
const card=result2.cards[0];
|
||||
if(get.name(card,target)==event.result.card.name){
|
||||
player.popup('洗具');
|
||||
player.popup('诿解成功');
|
||||
stop=true;
|
||||
}
|
||||
else player.popup('杯具');
|
||||
else player.popup('诿解失败');
|
||||
}
|
||||
}
|
||||
if(!stop){
|
||||
|
@ -17709,9 +17709,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
animationColor:'orange',
|
||||
forceunique:true,
|
||||
//filter:function(event,player){
|
||||
// return player.storage.fanghun2>0;
|
||||
//},
|
||||
filter:function(event,player){
|
||||
return player.storage.fanghun2>0;
|
||||
},
|
||||
prompt:function(event,player){
|
||||
var num=Math.max(2,player.storage.fanghun2||0);
|
||||
num=Math.min(num,8);
|
||||
|
@ -27468,7 +27468,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
olqushi:'趋势',
|
||||
olqushi_info:'出牌阶段限一次,你可以摸一张牌,然后将一张手牌扣置于一名其他角色的武将牌上,称为“趋”。目标角色于其结束阶段移去武将牌上的所有“趋”,若其于本回合使用过与“趋”相同类别的牌,则你摸X张牌(X为其本回合使用牌指定过的目标数之和且至多为5)。',
|
||||
olweijie:'诿解',
|
||||
olweijie_info:'每回合限一次,你的回合外,当你需要使用或打出一张基本牌时,你可以弃置距离为1的一名角色的一张手牌,若此牌牌名与你需要使用或打出的牌的牌名相同,则视为你使用或打出之。',
|
||||
olweijie_info:'回合外每名角色的回合限一次,当你需要使用或打出一张基本牌时,你可以弃置距离为1的一名角色的一张手牌,若此牌牌名与你需要使用或打出的牌的牌名相同,则视为你使用或打出之。',
|
||||
liupan:'刘磐',
|
||||
olpijing:'披荆',
|
||||
olpijing_info:'每回合限一次,当你使用黑色【杀】或黑色普通锦囊牌指定唯一目标后,你可以令至多X名其他角色成为此牌的额外目标并依次交给你一张牌(X为你已损失的体力值且X至少为1)。这些角色下次使用基本牌或普通锦囊牌指定唯一目标时,其可令你成为此牌的额外目标或摸一张牌。',
|
||||
|
|
|
@ -338,7 +338,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ignoreLogAI:true,
|
||||
skillTagFilter:function(player,tag,args){
|
||||
if(args){
|
||||
return args.card&&get.name(arg.card)=='sha';
|
||||
return args.card&&get.name(args.card)=='sha';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
@ -2055,8 +2055,11 @@ export class Player extends HTMLDivElement {
|
|||
return true;
|
||||
}
|
||||
$disableJudge() {
|
||||
game.addVideo('$disableJudge', this);
|
||||
this.storage._disableJudge = true;
|
||||
for (let i = 0; i < this.node.judges.childNodes.length; i++) {
|
||||
if (this.node.judges.childNodes[i].classList.contains('feichu')) return;
|
||||
}
|
||||
game.addVideo('$disableJudge', this);
|
||||
var card = game.createCard('disable_judge', '', '');
|
||||
card.fix();
|
||||
card.classList.add('feichu');
|
||||
|
|
|
@ -11710,7 +11710,7 @@ export class Library extends Uninstantable {
|
|||
lose: false,
|
||||
delay: false,
|
||||
content: () => {
|
||||
player.recast(cards, null, (player, cards) => {
|
||||
player.recast(cards, void 0, (player, cards) => {
|
||||
var numberOfCardsToDraw = cards.length;
|
||||
cards.forEach(value => {
|
||||
if (lib.config.mode == 'stone' && _status.mode == 'deck' && !player.isMin() && get.type(value).startsWith('stone')) {
|
||||
|
|
Loading…
Reference in New Issue