This commit is contained in:
libccy 2016-07-20 15:04:45 +08:00
parent 9f45b1bb86
commit 3c66429431
4 changed files with 6 additions and 5 deletions

View File

@ -756,7 +756,7 @@ card.guozhan={
popup:false, popup:false,
content:function(){ content:function(){
var card=player.get('e','2'); var card=player.get('e','2');
if(card){ if(card&&card.name.indexOf('huxinjing')==0){
player.discard(card); player.discard(card);
} }
} }

View File

@ -1510,7 +1510,7 @@ card.swd={
}, },
content:function(){ content:function(){
var e1=player.get('e','1'); var e1=player.get('e','1');
if(e1&&e1.name=='xuanyuanjian'){ if(e1&&e1.name.indexOf('xuanyuanjian')==0){
player.discard(e1); player.discard(e1);
} }
}, },

View File

@ -477,7 +477,7 @@ character.ow={
}, },
content:function(){ content:function(){
'step 0' 'step 0'
player.showCards([player.storage.dulei],get.translation(player)+'发动了【雷】'); player.showCards([player.storage.dulei],get.translation(player)+'发动了【雷】');
'step 1' 'step 1'
ui.discardPile.appendChild(player.storage.dulei); ui.discardPile.appendChild(player.storage.dulei);
delete player.storage.dulei; delete player.storage.dulei;
@ -496,14 +496,14 @@ character.ow={
dialog.add([player.storage.dulei]); dialog.add([player.storage.dulei]);
} }
else{ else{
return '已发动冰甲'; return '已发动诡雷';
} }
}, },
content:function(content,player){ content:function(content,player){
if(player==game.me||player.isUnderControl()){ if(player==game.me||player.isUnderControl()){
return get.translation(player.storage.dulei); return get.translation(player.storage.dulei);
} }
return '已发动冰甲'; return '已发动诡雷';
} }
} }
}, },

View File

@ -18,6 +18,7 @@ window.noname_update={
'card/hearth.js', 'card/hearth.js',
'card/standard.js', 'card/standard.js',
'card/yunchou.js', 'card/yunchou.js',
'card/guozhan.js',
'layout/default/layout.css', 'layout/default/layout.css',
'layout/newlayout/global.css', 'layout/newlayout/global.css',
'theme/woodden/style.css', 'theme/woodden/style.css',