This commit is contained in:
libccy 2017-05-13 16:56:28 +08:00
parent a78cc0d861
commit d808fe8863
2 changed files with 49 additions and 10 deletions

View File

@ -109,7 +109,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'spell',
subtype:'spell_gold',
vanish:true,
enable:true,
enable:function(card,player){
return game.hasPlayer(function(current){
return current!=player&&current.countCards('ej');
});
},
notarget:true,
contentBefore:function(){
player.$skill('蝴蝶舞','legend','metal');
@ -1255,7 +1259,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
player.updateMarks();
},
intro:{
content:'在下一个结束阶段,你随机弃置#张牌'
content:'在当前回合的结束阶段,你随机弃置#张牌'
},
content:function(){
player.randomDiscard(player.storage.gw_dieyi);
@ -1274,6 +1278,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
}
},
nopop:true,
trigger:{player:'phaseBegin'},
forced:true,
filter:function(event,player){
@ -1392,14 +1397,14 @@ game.import('card',function(lib,game,ui,get,ai,_status){
gw_dieyi_equip4:'蝶翼·防',
gw_dieyi_equip5:'蝶翼·宝',
gw_dieyi_judge:'蝶翼·判',
gw_dieyi_equip1_info:'在你从装备区中失去此牌后,你于下一个结束阶段随机弃置一张牌',
gw_dieyi_equip2_info:'在你从装备区中失去此牌后,你于下一个结束阶段随机弃置一张牌',
gw_dieyi_equip3_info:'在你从装备区中失去此牌后,你于下一个结束阶段随机弃置一张牌',
gw_dieyi_equip4_info:'在你从装备区中失去此牌后,你于下一个结束阶段随机弃置一张牌',
gw_dieyi_equip5_info:'在你从装备区中失去此牌后,你于下一个结束阶段随机弃置一张牌',
gw_dieyi_judge_info:'判定阶段移去此牌,并于下一个结束阶段随机弃置一张牌',
gw_dieyi_equip1_info:'在你从装备区中失去此牌后,你于当前回合的结束阶段段随机弃置一张牌',
gw_dieyi_equip2_info:'在你从装备区中失去此牌后,你于当前回合的结束阶段段随机弃置一张牌',
gw_dieyi_equip3_info:'在你从装备区中失去此牌后,你于当前回合的结束阶段段随机弃置一张牌',
gw_dieyi_equip4_info:'在你从装备区中失去此牌后,你于当前回合的结束阶段段随机弃置一张牌',
gw_dieyi_equip5_info:'在你从装备区中失去此牌后,你于当前回合的结束阶段段随机弃置一张牌',
gw_dieyi_judge_info:'判定阶段移去此牌,并于当前回合的结束阶段随机弃置一张牌',
gw_hudiewu:'蝴蝶舞',
gw_hudiewu_info:'将其他角色在场上的所有牌替换为蝶翼(在你失去蝶翼后,你于下一个结束阶段随机弃置一张牌),然后结束出牌阶段',
gw_hudiewu_info:'将其他角色在场上的所有牌替换为蝶翼(在你失去蝶翼后,你于当前回合的结束阶段随机弃置一张牌),然后结束出牌阶段',
gw_yigeniyin:'伊格尼印',
gw_yigeniyin_info:'对敌方角色中体力值最大的一名随机角色造成一点火焰伤害,然后对场上体力值最大的所有角色各造成一点火焰伤害,然后结束出牌阶段',
gw_leizhoushu:'雷咒术',

View File

@ -36,7 +36,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
// gw_luobo:['male','wu',4,[]],
// gw_mieren:['male','wu',4,[]],
// gw_sanhanya:['male','wu',4,[]],
// gw_shanhu:['male','wu',4,[]],
gw_shanhu:['female','qun',3,['shuijian']],
// gw_zhangyujushou:['male','wu',4,[]],
// gw_zhuoertan:['male','wu',4,[]],
},
@ -54,6 +54,38 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个算一个',
},
skill:{
shuijian:{
trigger:{player:'phaseBegin'},
direct:true,
filter:function(event,player){
return player.countCards('h')>0;
},
content:function(){
'step 0'
var targets=player.getEnemies();
var num=0;
for(var i=0;i<targets.length;i++){
num+=get.sgn(get.effect(targets[i],{name:'wanjian'},player,player));
}
event.targets=targets;
player.chooseToDiscard(get.prompt('shuijian')).set('ai',function(card){
if(num>=3) return 10-get.value(card);
if(num>=2) return 9-get.value(card);
if(num>=1) return 7-get.value(card);
return 0;
}).logSkill='shuijian';
'step 1'
if(result.bool){
for(var i=0;i<event.targets.length;i++){
event.targets[i].addExpose(0.1);
}
player.useCard({name:'wanjian'},event.targets);
}
},
ai:{
threaten:1.6
}
},
yunhuo:{
trigger:{player:'phaseBegin'},
filter:function(event,player){
@ -964,6 +996,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_zhangyujushou:'章鱼巨兽',
gw_zhuoertan:'卓尔坦',
shuijian:'水箭',
shuijian_info:'准备阶段,你可以弃置一张手牌视为对所有敌方角色使用一张万箭齐发',
yunhuo:'陨火',
yunhuo_info:'锁定技准备阶段若游戏轮数为4的倍数你令所有敌方角色随机弃置一张手牌若没有手牌改为受到一点火焰伤害然后在此回合结束后获得一个额外回合',
yinzhang:'银杖',