commit
ccc7c7f99d
|
@ -135,7 +135,7 @@ function GameLogic:prepareForStart()
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
self:addTriggerSkill(GameRule)
|
||||
|
|
|
@ -142,9 +142,24 @@ Fk:loadTranslationTable{
|
|||
["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:loseHp(from, 1, self.name)
|
||||
if from:isAlive() then
|
||||
room:drawCards(from, 2, self.name)
|
||||
end
|
||||
end
|
||||
}
|
||||
local huanggai = General:new(extension, "huanggai", "wu", 4)
|
||||
huanggai:addSkill(kurou)
|
||||
Fk:loadTranslationTable{
|
||||
["huanggai"] = "黄盖",
|
||||
["kurou"] = "苦肉",
|
||||
}
|
||||
|
||||
local zhouyu = General:new(extension, "zhouyu", "wu", 3)
|
||||
|
|
Loading…
Reference in New Issue