mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
Fixbug (#104)
修了觉醒技图标显示反的bug 修了流离报错bug --------- Co-authored-by: RalphRad <121930519+RalphRad@users.noreply.github.com>
This commit is contained in:
parent
6d88556bae
commit
c962f71c8f
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user