修复攻击距离为负数谋太史慈摸牌bug
This commit is contained in:
parent
7501bf8f56
commit
0914497cd6
|
@ -49,7 +49,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
.filter(evt=>evt==trigger.getParent())
|
||||
.then(()=>{
|
||||
const num=Math.min(5,player.getAttackRange());
|
||||
if(num) player.draw(num);
|
||||
if(num>0) player.draw(num);
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue