修改getUseValue

This commit is contained in:
kuangthree 2024-02-03 12:36:53 +08:00
parent 99e249789b
commit 217a1137da
1 changed files with 1 additions and 1 deletions

View File

@ -6929,7 +6929,7 @@ export class Player extends HTMLDivElement {
for (var i = 0; i < targets.length; i++) {
if (player.canUse(card, targets[i], distance, includecard)) {
var eff = cache.get.effect(targets[i], card, player, player);
if(range[1]!=-1 && eff > 0){
if(range[1]==1 && eff > 0){
return true;
}
value.push(eff);