其他ai调整
This commit is contained in:
parent
649fc418d6
commit
4a33dabdc4
|
@ -14737,12 +14737,12 @@ const skills = {
|
||||||
order: 2.9,
|
order: 2.9,
|
||||||
result: {
|
result: {
|
||||||
target: function (player, target) {
|
target: function (player, target) {
|
||||||
|
if (get.attitude(player, target) >= 0) return -20;
|
||||||
var cards = ui.selected.cards.slice(0);
|
var cards = ui.selected.cards.slice(0);
|
||||||
var names = [];
|
var names = [];
|
||||||
for (var i of cards) names.add(i.name);
|
for (var i of cards) names.add(i.name);
|
||||||
if (names.length < player.hp) return 0;
|
if (names.length < player.hp) return 0;
|
||||||
if (player.hasUnknown() && (player.identity != "fan" || !target.isZhu)) return 0;
|
if (player.hasUnknown() && (player.identity != "fan" || !target.isZhu)) return 0;
|
||||||
if (get.attitude(player, target) >= 0) return -20;
|
|
||||||
return lib.card.sha.ai.result.target.apply(this, arguments);
|
return lib.card.sha.ai.result.target.apply(this, arguments);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue