修了觉醒技图标显示反的bug
修了流离报错bug

---------

Co-authored-by: RalphRad <121930519+RalphRad@users.noreply.github.com>
This commit is contained in:
notify 2023-04-08 09:32:51 +08:00 committed by GitHub
parent 6d88556bae
commit c962f71c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -997,6 +997,7 @@ function Room:askForChooseCardAndPlayers(player, targets, minNum, maxNum, patter
if maxNum < 1 then
return {}
end
pattern = pattern or ".",
local pcards = table.filter(player:getCardIds({ Player.Hand, Player.Equip }), function(id)
local c = Fk:getCardById(id)
@ -1008,7 +1009,7 @@ function Room:askForChooseCardAndPlayers(player, targets, minNum, maxNum, patter
targets = targets,
num = maxNum,
min_num = minNum,
pattern = pattern or ".",
pattern = pattern,
skillName = skillName
}
local _, ret = self:askForUseActiveSkill(player, "choose_players_skill", prompt or "", true, data)

View File

@ -50,7 +50,7 @@ Item {
onUsedtimesChanged: {
x.visible = false;
if (skilltype === "wake") {
visible = (usedtimes < 1);
visible = (usedtimes > 0);
} else if (skilltype === "limit") {
visible = true;
if (usedtimes >= 1) {