diff --git a/builds/sanguosha.ts b/builds/sanguosha.ts index 95c241d82..c382f418f 100644 --- a/builds/sanguosha.ts +++ b/builds/sanguosha.ts @@ -3026,17 +3026,17 @@ Awe Prestige - 天道威仪 + 魏武挥鞭 Wisely Loyalist - 能臣巧吏 + 汉室复兴 Conspiracy - 老谋深算 + 雄霸天下 @@ -3066,7 +3066,7 @@ Break Point - 直捣黄龙 + 吴王光耀 @@ -3076,7 +3076,7 @@ Frightful Lord - 势敌万军 + 苍天航路 @@ -3131,12 +3131,12 @@ Priority Honor - 竭忠尽智 + 季汉能臣 Impasse Strike - 华丽的逆袭 + 江东俊杰 diff --git a/lua/ai/smart-ai.lua b/lua/ai/smart-ai.lua index 4225507be..d0bab1777 100644 --- a/lua/ai/smart-ai.lua +++ b/lua/ai/smart-ai.lua @@ -1896,7 +1896,7 @@ function SmartAI:filterEvent(event, player, data) local count = self.room:getTag("SwapPile"):toInt() for _, p in sgs.qlist(self.room:getOtherPlayers(to)) do if sgs.ai_guangxing[p:objectName()][count] and table.contains(sgs.ai_guangxing[p:objectName()][count], tostring(card_id)) then - table.removeOne(sgs.ai_guangxing[p:objectName()][count], card_id) + table.remove(sgs.ai_guangxing[p:objectName()][count], card_id) local flag = string.format("%s_%s_%s", "visible", p:objectName(), to:objectName()) self.room:setCardFlag(card_id, flag, p) end