3D8武将bug修复
This commit is contained in:
parent
e6a88a0c27
commit
a45dbd289d
|
@ -113,6 +113,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:2,
|
audio:2,
|
||||||
enable:'chooseToUse',
|
enable:'chooseToUse',
|
||||||
hiddenCard:function(player,name){
|
hiddenCard:function(player,name){
|
||||||
|
if(player.hasSkill('dddxiaxing_used')) return false;
|
||||||
return name=='tao';
|
return name=='tao';
|
||||||
},
|
},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
@ -413,6 +414,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
forced:true,
|
forced:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(get.type(event.card)!='equip') return false;
|
if(get.type(event.card)!='equip') return false;
|
||||||
|
if(get.subtype(event.card)!='equip1') return false;
|
||||||
const range=player.getAttackRange();
|
const range=player.getAttackRange();
|
||||||
return !game.hasPlayer(current=>{
|
return !game.hasPlayer(current=>{
|
||||||
return current.getAttackRange()>range;
|
return current.getAttackRange()>range;
|
||||||
|
|
Loading…
Reference in New Issue