This commit is contained in:
libccy 2017-08-09 20:24:23 +08:00
parent fa30a459a1
commit b175bdfa1b
6 changed files with 13 additions and 7 deletions

View File

@ -5227,7 +5227,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['diamond',2,'jiguanyuan'], ['diamond',2,'jiguanyuan'],
['diamond',4,'jiguantong'], ['diamond',4,'jiguantong'],
['club',7,'jiguantong'], ['club',7,'jiguantong'],
['spade',1,'shenmiguo'], // ['spade',1,'shenmiguo'],
['spade',2,'shenmiguo'], ['spade',2,'shenmiguo'],
['heart',1,'shenmiguo'], ['heart',1,'shenmiguo'],
['club',3,'jiguanfeng'], ['club',3,'jiguanfeng'],

View File

@ -2331,6 +2331,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
derivation:'gw_zhuoertan', derivation:'gw_zhuoertan',
vanish:true, vanish:true,
addinfo:'捣蛋鬼', addinfo:'捣蛋鬼',
ai:{
value:-1
}
}, },
}, },
translate:{ translate:{
@ -2452,7 +2455,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gwxiaoshou:'枭首', gwxiaoshou:'枭首',
gwxiaoshou_info:'出牌阶段限两次,你可以弃置一张牌对场上体力值最高(或之一)的一名角色造成一点伤害', gwxiaoshou_info:'出牌阶段限两次,你可以弃置一张牌对场上体力值最高(或之一)的一名角色造成一点伤害',
kuanglie:'狂猎', kuanglie:'狂猎',
kuanglie_info:'锁定技,当一名其他角色成为你的黑色牌的目标后,该角色随机弃置一张牌;每当你发动两次“狂猎”,你摸一张牌', kuanglie_info:'锁定技,每当一名敌方角色成为你的黑色牌的目标,你视为对其使用【刺骨寒霜】;在一名角色受到【刺骨寒霜】的影响后,你随机获得一张【狂猎】牌',
lingshuang:'凛霜',
lingshuang_info:'每当你失去最后一张基本牌你可以视为对距离2以内的所有敌方角色使用【刺骨寒霜】在一名角色受到【刺骨寒霜】影响时你可以弃置一张手牌将其效果改为“摸牌数-2”',
gwjiquan:'集权', gwjiquan:'集权',
gwjiquan_info:'出牌阶段限一次,你可以从任意名角色处各获得一张牌,每拿一张牌,被拿牌的角色视为对你使用一张杀', gwjiquan_info:'出牌阶段限一次,你可以从任意名角色处各获得一张牌,每拿一张牌,被拿牌的角色视为对你使用一张杀',
nuhou:'怒吼', nuhou:'怒吼',

View File

@ -2507,7 +2507,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.current=player.next; event.current=player.next;
"step 1" "step 1"
event.current.animate('target'); event.current.animate('target');
event.current.chooseToUse('乱:使用一张杀或流失一点体力',{name:'sha'},function(card,player,target){ event.current.chooseToUse('乱:使用一张杀或流失一点体力',{name:'sha'},function(card,player,target){
if(player==target) return false; if(player==target) return false;
if(!player.canUse('sha',target)) return false; if(!player.canUse('sha',target)) return false;
if(get.distance(player,target)<=1) return true; if(get.distance(player,target)<=1) return true;

View File

@ -6118,6 +6118,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return event.player.countCards('e'); return event.player.countCards('e');
}, },
direct:true, direct:true,
logTarget:'player',
content:function(){ content:function(){
player.discardPlayerCard(trigger.player,'e',get.prompt('polang',trigger.player)).logSkill='polang'; player.discardPlayerCard(trigger.player,'e',get.prompt('polang',trigger.player)).logSkill='polang';
}, },
@ -6363,7 +6364,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var num=player.countCards('h')-trigger.source.countCards('h'); var num=player.countCards('h')-trigger.source.countCards('h');
event.num=num; event.num=num;
if(num>0){ if(num>0){
var next=player.chooseToDiscard(num,'是否弃置'+num+'张手牌,并对'+get.translation(trigger.source)+'造成一点伤害'); var next=player.chooseToDiscard(num,get.prompt('pozhen',trigger.source),'弃置'+num+'张手牌,并对'+get.translation(trigger.source)+'造成一点伤害');
next.logSkill=['pozhen',trigger.source]; next.logSkill=['pozhen',trigger.source];
next.ai=function(card){ next.ai=function(card){
if(get.damageEffect(trigger.source,player,player)>0&&num<=2){ if(get.damageEffect(trigger.source,player,player)>0&&num<=2){
@ -6373,7 +6374,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
} }
} }
else if(num<0){ else if(num<0){
player.chooseBool('是否弃置'+get.translation(trigger.source)+(-num)+'张手牌').ai=function(){ player.chooseBool(get.prompt('pozhen',trigger.source),'弃置'+get.translation(trigger.source)+(-num)+'张手牌').ai=function(){
return get.attitude(player,trigger.source)<0; return get.attitude(player,trigger.source)<0;
} }
} }

View File

@ -15942,7 +15942,7 @@
if(this.checkShow){ if(this.checkShow){
this.checkShow(name); this.checkShow(name);
} }
if(info.round){ if(info&&info.round){
var roundname=name+'_roundcount'; var roundname=name+'_roundcount';
this.storage[roundname]=game.roundNumber; this.storage[roundname]=game.roundNumber;
this.syncStorage(roundname); this.syncStorage(roundname);

View File

@ -1,5 +1,5 @@
window.noname_update={ window.noname_update={
version:'1.9.35.1', version:'1.9.35.2',
update:'1.9.35', update:'1.9.35',
changeLog:[ changeLog:[
'bug修复', 'bug修复',