This commit is contained in:
jazuo 2023-01-08 14:57:42 +08:00
parent ebacac8707
commit 6121f7d66b
2 changed files with 14 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function GameLogic:prepareForStart()
end end
for _, p in ipairs(room.alive_players) do for _, p in ipairs(room.alive_players) do
room:handleAddLoseSkills(p, "zhiheng|mashu|fankui", nil, false) room:handleAddLoseSkills(p, "zhiheng|mashu|fankui|kurou", nil, false)
end end
self:addTriggerSkill(GameRule) self:addTriggerSkill(GameRule)

View File

@ -142,9 +142,22 @@ Fk:loadTranslationTable{
["lvmeng"] = "吕蒙", ["lvmeng"] = "吕蒙",
} }
local kurou = fk.CreateActiveSkill{
name = "kurou",
card_filter = function(to_select, selected, selected_targets)
return false
end,
on_effect = function(self, room, effect)
local from = room:getPlayerById(effect.from)
room:drawCards(from, 2, self.name)
room:loseHp(from, 1, self.name)
end
}
local huanggai = General:new(extension, "huanggai", "wu", 4) local huanggai = General:new(extension, "huanggai", "wu", 4)
huanggai:addSkill(kurou)
Fk:loadTranslationTable{ Fk:loadTranslationTable{
["huanggai"] = "黄盖", ["huanggai"] = "黄盖",
["kurou"] = "苦肉",
} }
local zhouyu = General:new(extension, "zhouyu", "wu", 3) local zhouyu = General:new(extension, "zhouyu", "wu", 3)