This commit is contained in:
libccy 2017-07-28 16:21:24 +08:00
parent 897cbc42e9
commit 01d49bcbeb
9 changed files with 64 additions and 17 deletions

View File

@ -1686,8 +1686,14 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}; };
'step 1' 'step 1'
var list=game.filterPlayer(function(current){ var list=game.filterPlayer(function(current){
if(game.checkMod(trigger.card,player,trigger.target,current,'unchanged','wuxieEnabled',current)==false) return false; if(event.triggername=='phaseJudge'){
if(game.checkMod(trigger.card,player,trigger.target,current,'unchanged','wuxieRespondable',player)==false) return false; if(game.checkMod(trigger.card,player,current,'unchanged','wuxieJudgeEnabled',current)==false) return false;
if(game.checkMod(trigger.card,player,current,'unchanged','wuxieJudgeRespondable',player)==false) return false;
}
else{
if(game.checkMod(trigger.card,player,trigger.target,current,'unchanged','wuxieEnabled',current)==false) return false;
if(game.checkMod(trigger.card,player,trigger.target,current,'unchanged','wuxieRespondable',player)==false) return false;
}
return current.hasWuxie(); return current.hasWuxie();
}); });
event.list=list; event.list=list;

View File

@ -42,6 +42,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_meizi:['female','wei',3,['gwjieyin']], gw_meizi:['female','wei',3,['gwjieyin']],
gw_aimin:['female','wu',3,['huanshu']], gw_aimin:['female','wu',3,['huanshu']],
gw_puxila:['female','qun',3,['gwqinwu']], gw_puxila:['female','qun',3,['gwqinwu']],
gw_xigedelifa:['female','qun',3,['gwfusheng']],
gw_laomaotou:['male','qun',4,[]],
gw_qigaiwang:['male','qun',3,[]],
}, },
characterIntro:{ characterIntro:{
gw_huoge:'那个老年痴呆?不知道他是活着还是已经被制成标本了!', gw_huoge:'那个老年痴呆?不知道他是活着还是已经被制成标本了!',
@ -57,6 +61,32 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个算一个', gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个算一个',
}, },
skill:{ skill:{
gwfusheng:{
enable:'chooseToUse',
filter:function(event,player){
return event.type=='dying'&&event.dying&&!event.dying.isTurnedOver();
},
filterTarget:function(card,player,target){
return target==_status.event.dying;
},
selectTarget:-1,
content:function(){
target.turnOver();
target.recover();
player.draw();
},
ai:{
order:0.1,
skillTagFilter:function(player){
if(!_status.event.dying||_status.event.dying.isTurnedOver()) return false;
},
save:true,
result:{
target:3
},
threaten:1.6
},
},
gwqinwu:{ gwqinwu:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
filter:function(event,player){ filter:function(event,player){
@ -2003,6 +2033,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_aimin:'艾敏', gw_aimin:'艾敏',
gw_puxila:'普希拉', gw_puxila:'普希拉',
gw_xigedelifa:'希格德莉法',
gw_laomaotou:'毛矛头',
gw_laomaotou2:'毛矛头',
gw_qigaiwang:'乞丐王',
gwfusheng:'复生',
gwfusheng_info:'在当一名未翻面角色的濒死状态,你可以令其翻面并回复一点体力,然后你摸一张牌',
gwqinwu:'琴舞', gwqinwu:'琴舞',
gwqinwu2:'琴舞', gwqinwu2:'琴舞',
gwqinwu_info:'每当你使用一张基本牌,你可以令一名角色摸一张牌并获得技能【琴舞】直到其下一回合结束', gwqinwu_info:'每当你使用一张基本牌,你可以令一名角色摸一张牌并获得技能【琴舞】直到其下一回合结束',

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[ window.noname_asset_list=[
'1.9.33.1', '1.9.33.2',
'image/background/huangtian_bg.jpg', 'image/background/huangtian_bg.jpg',
'image/background/ol_bg.jpg', 'image/background/ol_bg.jpg',
'image/background/september_bg.jpg', 'image/background/september_bg.jpg',
@ -399,14 +399,18 @@ window.noname_asset_list=[
'image/character/gw_kaxier.jpg', 'image/character/gw_kaxier.jpg',
'image/character/gw_kuite.jpg', 'image/character/gw_kuite.jpg',
'image/character/gw_laduoweide.jpg', 'image/character/gw_laduoweide.jpg',
'image/character/gw_laomaotou.jpg',
'image/character/gw_laomaotou2.jpg',
'image/character/gw_luobo.jpg', 'image/character/gw_luobo.jpg',
'image/character/gw_luoqi.jpg', 'image/character/gw_luoqi.jpg',
'image/character/gw_meizi.jpg', 'image/character/gw_meizi.jpg',
'image/character/gw_mieren.jpg', 'image/character/gw_mieren.jpg',
'image/character/gw_puxila.jpg', 'image/character/gw_puxila.jpg',
'image/character/gw_qigaiwang.jpg',
'image/character/gw_sanhanya.jpg', 'image/character/gw_sanhanya.jpg',
'image/character/gw_shanhu.jpg', 'image/character/gw_shanhu.jpg',
'image/character/gw_telisi.jpg', 'image/character/gw_telisi.jpg',
'image/character/gw_xigedelifa.jpg',
'image/character/gw_xili.jpg', 'image/character/gw_xili.jpg',
'image/character/gw_yenaifa.jpg', 'image/character/gw_yenaifa.jpg',
'image/character/gw_yioufeisi.jpg', 'image/character/gw_yioufeisi.jpg',

View File

@ -8165,7 +8165,7 @@
ui.arena.classList.remove('selecting'); ui.arena.classList.remove('selecting');
}, },
p:function(name,i,skin){ p:function(name,i,skin){
var list=['swd','hs','pal','gjqt','ow']; var list=['swd','hs','pal','gjqt','ow','gw'];
if(!lib.character[name]){ if(!lib.character[name]){
for(var j=0;j<list.length;j++){ for(var j=0;j<list.length;j++){
if(lib.character[list[j]+'_'+name]){ if(lib.character[list[j]+'_'+name]){

View File

@ -1,6 +1,6 @@
window.noname_update={ window.noname_update={
version:'1.9.33.1', version:'1.9.33.2',
update:'1.9.32', update:'1.9.33.1',
changeLog:[ changeLog:[
'bug修复', 'bug修复',
], ],
@ -12,18 +12,18 @@ window.noname_update={
// 'game/pressure.js', // 'game/pressure.js',
'game/asset.js', 'game/asset.js',
// 'card/*', // 'card/*',
'card/gwent.js', 'card/standard.js',
'card/swd.js', // 'card/swd.js',
'card/gujian.js', // 'card/gujian.js',
// 'character/*', // 'character/*',
'character/hearth.js', // 'character/hearth.js',
'character/extra.js', // 'character/extra.js',
'character/gwent.js', 'character/gwent.js',
'character/sp.js', // 'character/sp.js',
'character/swd.js', // 'character/swd.js',
'character/rank.js', // 'character/rank.js',
'character/yijiang.js', // 'character/yijiang.js',
'character/xianjian.js', // 'character/xianjian.js',
// 'mode/identity.js', // 'mode/identity.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/versus.js', // 'mode/versus.js',
@ -34,7 +34,7 @@ window.noname_update={
// 'theme/music/style.css', // 'theme/music/style.css',
// 'theme/woodden/style.css', // 'theme/woodden/style.css',
// 'theme/simple/style.css', // 'theme/simple/style.css',
'layout/default/layout.css', // 'layout/default/layout.css',
// 'layout/default/phone.css', // 'layout/default/phone.css',
// 'layout/default/menu.css', // 'layout/default/menu.css',
// 'theme/style/cardback/*', // 'theme/style/cardback/*',

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB