This commit is contained in:
libccy 2017-07-22 22:14:11 +08:00
parent 4d1fd873a3
commit b677a4d29c
2 changed files with 43 additions and 1 deletions

View File

@ -1328,6 +1328,48 @@ game.import('card',function(lib,game,ui,get,ai,_status){
order:1.2, order:1.2,
} }
}, },
gw_guaiwuchaoxue:{
fullborder:'silver',
type:'spell',
subtype:'spell_silver',
enable:true,
filterTarget:function(card,player,target){
return target==player;
},
selectTarget:-1,
content:function(){
var list=get.gainableSkills(function(info,skill){
return !info.notemp&&info.ai&&info.ai.maixie_hp&&!player.hasSkill(skill);
});
if(list.length){
var skill=list.randomGet();
player.popup(skill);
player.addTempSkill(skill,{player:'phaseBegin'});
var enemies=player.getEnemies();
if(enemies.length){
var source=enemies.randomGet();
source.line(player);
source.addExpose(0.1);
player.damage(source);
player.changeHujia();
}
}
},
ai:{
value:[7,1],
useful:[3,1],
result:{
target:function(player,target){
if(target.hp<=1||target.hujia) return 0;
if(target.hasSkillTag('maixie_hp')) return 1;
if(target.hp==2&&target.needsToDiscard(1)) return 0;
if(target.hp==3&&target.needsToDiscard()) return 0;
return 1;
}
},
order:1,
}
},
gw_qinpendayu:{ gw_qinpendayu:{
fullborder:'bronze', fullborder:'bronze',
@ -1903,7 +1945,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
spell_bronze:'铜卡法术', spell_bronze:'铜卡法术',
gw_guaiwuchaoxue:'怪物巢穴', gw_guaiwuchaoxue:'怪物巢穴',
gw_guaiwuchaoxue_info:'获得一个随机卖血技能直到下一回合开始,令一名随机敌方角色对你造成一点伤害,然后获得一点护甲', gw_guaiwuchaoxue_info:'随机获得一个卖血技能直到下一回合开始;令一名随机敌方角色对你造成一点伤害,然后获得一点护甲',
gw_baobaoshu:'雹暴术', gw_baobaoshu:'雹暴术',
gw_baobaoshu_info:'天气牌,出牌阶段对至多两名角色使用,目标不能使用基本牌直到下一回合结束', gw_baobaoshu_info:'天气牌,出牌阶段对至多两名角色使用,目标不能使用基本牌直到下一回合结束',
gw_baishuang:'白霜', gw_baishuang:'白霜',

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB