This commit is contained in:
libccy 2017-07-05 14:33:45 +08:00
parent f55909b237
commit a7ba362f0f
8 changed files with 21 additions and 1 deletions

View File

@ -1494,7 +1494,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
silent:true,
priority:-11,
filter:function(event,player){
if(_status.connectMode) return false;
if(!lib.config.cards.contains('gwent')) return false;
if(game.fixedPile) return false;
return event.num>0&&event.parent.name=='phaseDraw';
},
content:function(){

View File

@ -202,6 +202,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hanba:['swd_muyun'],
dongbai:['dongzhuo']
},
card:{
wy_meirenji:{
fullskin:true,
},
wy_xiaolicangdao:{
fullskin:true,
}
},
skill:{
weikui:{
audio:'kuiwei',
@ -8611,6 +8619,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
miheng:'祢衡',
taoqian:'陶谦',
wy_meirenji:'美人计',
wy_meirenji_info:'出牌阶段对一名有手牌的其他男性角色使用。每名女性角色各获得其一张手牌并将一张手牌交给你然后比较你与其的手牌数手牌少的角色对手牌多的角色造成1点伤害',
wy_xiaolicangdao:'笑里藏刀',
wy_xiaolicangdao_info:'出牌阶段对一名其他角色使用。该角色摸X张牌X为其已损失的体力值且至多为5然后你对其造成1点伤害',
weikui:'伪溃',
weikui2:'伪溃',
weikui_info:'出牌阶段限一次你可以失去1点体力并选择一名有手牌的其他角色你观看其手牌若其手牌中有【闪】则视为你对其使用【杀】,且本回合你计算与其的距离视为1若其手牌中没有【闪】你弃置其中一张牌',

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'1.9.29.2',
'1.9.31',
'image/background/huangtian_bg.jpg',
'image/background/ol_bg.jpg',
'image/background/september_bg.jpg',
@ -232,6 +232,8 @@ window.noname_asset_list=[
'image/card/wuxie.png',
'image/card/wuxingpan.png',
'image/card/wuzhong.png',
'image/card/wy_meirenji.png',
'image/card/wy_xiaolicangdao.png',
'image/card/xiajiao.png',
'image/card/xianluhui.png',
'image/card/xiaolicangdao.png',

BIN
image/card/wy_meirenji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
image/character/wangyun.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -69,6 +69,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
if(get.config('guozhanpile')){
lib.card.list=lib.guozhanPile.slice(0);
game.fixedPile=true;
}
game.prepareArena();
// game.delay();
@ -84,6 +85,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(_status.connectMode){
if(lib.configOL.guozhanpile){
lib.card.list=lib.guozhanPile.slice(0);
game.fixedPile=true;
}
game.broadcastAll(function(pack){
for(var i=0;i<game.players.length;i++){

View File

@ -87,6 +87,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else if(_status.mode=='jiange'||_status.mode=='siguo'||_status.mode=='four'){
if(_status.mode=='four'&&!get.config('enable_all_cards_four')){
lib.card.list=lib.cardsFour;
game.fixedPile=true;
}
else if(_status.mode=='siguo'){
for(var i=0;i<lib.card.list.length;i++){
@ -108,6 +109,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.translate.wuzhong_info+='若对方存活角色多于己方,则额外摸一张牌';
lib.translate.zhuge_info='锁定技,出牌阶段,你使用杀的次数上限+3';
lib.card.list=lib.cardsThree;
game.fixedPile=true;
}
ui.create.cardsAsync();
game.finishCards();