Skip to content

Commit

Permalink
v1.10.3
Browse files Browse the repository at this point in the history
v1.10.3
  • Loading branch information
Spmario233 authored Oct 5, 2023
2 parents b5a16af + f21c9d8 commit cb642c5
Show file tree
Hide file tree
Showing 57 changed files with 31,856 additions and 2,416 deletions.
Binary file added audio/die/re_wenpin.mp3
Binary file not shown.
Binary file added audio/die/re_zhongyao.mp3
Binary file not shown.
Binary file added audio/skill/huomo_re_zhongyao1.mp3
Binary file not shown.
Binary file added audio/skill/huomo_re_zhongyao2.mp3
Binary file not shown.
Binary file added audio/skill/zhenwei_re_wenpin1.mp3
Binary file not shown.
Binary file added audio/skill/zhenwei_re_wenpin2.mp3
Binary file not shown.
Binary file added audio/skill/zuoding_re_zhongyao1.mp3
Binary file not shown.
Binary file added audio/skill/zuoding_re_zhongyao2.mp3
Binary file not shown.
8 changes: 4 additions & 4 deletions card/extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(card.name=='sha'){
var equip1=player.getEquip('zhuque');
if(equip1&&equip1.name=='zhuque') return 1.9;
if(!card.hasNature()) return 'zerotarget';
if(!game.hasNature(card)) return 'zerotarget';
}
}
}
Expand Down Expand Up @@ -810,7 +810,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
effect:{
target:function(card,player,target,current){
if(card.name=='sha'){
if(card.hasNature('fire')) return 2;
if(game.hasNature(card,'fire')) return 2;
if(player.hasSkill('zhuque_skill')) return 1.9;
}
if(get.tag(card,'fireDamage')&&current<0) return 2;
Expand All @@ -830,7 +830,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
target:player,
card:event.card
})) return false;
if(event.card.name=='sha'&&!event.card.hasNature()) return true;
if(event.card.name=='sha'&&!game.hasNature(event.card)) return true;
return false;
},
content:function(){
Expand Down Expand Up @@ -906,7 +906,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
trigger:{player:'useCard1'},
//priority:7,
filter:function(event,player){
if(event.card.name=='sha'&&!event.card.hasNature()) return true;
if(event.card.name=='sha'&&!game.hasNature(event.card)) return true;
},
audio:true,
check:function(event,player){
Expand Down
7 changes: 5 additions & 2 deletions card/guozhan.js
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}))+'的【诏书】上';
},
content:function(){
'step 0'
target.addToExpansion(cards,player,'give').gaintag.add('zhaoshu_cards');
'step 1'
target.markSkill('zhaoshu_skill');
},
ai:{
order:1,
Expand All @@ -1211,7 +1214,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
filter:function(event,player){
if(['huoshaolianying','huogong'].contains(event.card.name)) return true;
if(event.card.name=='sha') return event.card.hasNature('fire');
if(event.card.name=='sha') return game.hasNature(event.card,'fire');
return false;
},
content:function(){
Expand All @@ -1220,7 +1223,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
ai:{
effect:{
target:function(card,player,target,current){
if(['huoshaolianying','huogong'].contains(card.name)||(card.name=='sha'&&card.hasNature('fire'))){
if(['huoshaolianying','huogong'].contains(card.name)||(card.name=='sha'&&game.hasNature(card,'fire'))){
return 'zeroplayertarget';
}
},
Expand Down
Loading

0 comments on commit cb642c5

Please sign in to comment.