Uzi2 modified, to be tested
This commit is contained in:
parent
9efd83fa28
commit
088c39b77d
187
jianyu_lpl.lua
187
jianyu_lpl.lua
|
@ -4,7 +4,7 @@ extension.extensionName = "jianyu"
|
||||||
Fk:loadTranslationTable {
|
Fk:loadTranslationTable {
|
||||||
["jianyu_lpl"] = "<font color=\"red\"><strong>监狱-LPL</strong></font>",
|
["jianyu_lpl"] = "<font color=\"red\"><strong>监狱-LPL</strong></font>",
|
||||||
["god"] = "神话再临·神",
|
["god"] = "神话再临·神",
|
||||||
["first"] = "经典",
|
["first"] = "熊",
|
||||||
["second"] = "冠军限定",
|
["second"] = "冠军限定",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@ local first__jianzihao = General(extension, "first__jianzihao", "qun", 3, 3, Gen
|
||||||
-- 红温
|
-- 红温
|
||||||
local hongwen = fk.CreateFilterSkill{
|
local hongwen = fk.CreateFilterSkill{
|
||||||
name = "hongwen",
|
name = "hongwen",
|
||||||
-- mute = true,
|
|
||||||
card_filter = function(self, to_select, player)
|
card_filter = function(self, to_select, player)
|
||||||
return (to_select.suit == Card.Spade or to_select.suit == Card.Club) and player:hasSkill(self)
|
return (to_select.suit == Card.Spade or to_select.suit == Card.Club) and player:hasSkill(self)
|
||||||
end,
|
end,
|
||||||
|
@ -201,10 +200,11 @@ Fk:loadTranslationTable{
|
||||||
["zhuanhui"] = "转会",
|
["zhuanhui"] = "转会",
|
||||||
[":zhuanhui"] = [[锁定技,这个技能是为了告诉你下面这些提示。<br>
|
[":zhuanhui"] = [[锁定技,这个技能是为了告诉你下面这些提示。<br>
|
||||||
<font size="1"><strong>这个武将由熊俊博于2023年12月1日设计!</strong><br>
|
<font size="1"><strong>这个武将由熊俊博于2023年12月1日设计!</strong><br>
|
||||||
|
经过12月2日群友们的测试,感觉更多是一个娱乐武将。如果你一定要玩,请参考下面的:
|
||||||
<strong>玩法提示</strong><br>
|
<strong>玩法提示</strong><br>
|
||||||
活过第一轮!<br>
|
活过第一轮!<br>
|
||||||
如果有防具,你就能安全、强大地偷牌。<br>
|
如果有防具,你就能安全、强大地偷牌。<br>
|
||||||
你很脆,但你很强。寻求保护!<br>
|
你很脆,你也不强,但你可以恶心场上所有的人。<br>
|
||||||
<strong>队友提示</strong><br>
|
<strong>队友提示</strong><br>
|
||||||
优先将防具、【闪】、【桃】、【酒】交给他。<br>
|
优先将防具、【闪】、【桃】、【酒】交给他。<br>
|
||||||
<strong>敌方提示</strong><br>
|
<strong>敌方提示</strong><br>
|
||||||
|
@ -253,7 +253,7 @@ Fk:loadTranslationTable{
|
||||||
|
|
||||||
|
|
||||||
-- 侯国玉
|
-- 侯国玉
|
||||||
local houguoyu = General(extension, "houguoyu", "shu", 5, 5, General.Male)
|
local houguoyu = General(extension, "houguoyu", "shu", 7, 14, General.Male)
|
||||||
houguoyu.hidden = true
|
houguoyu.hidden = true
|
||||||
|
|
||||||
local waao = fk.CreateTriggerSkill{
|
local waao = fk.CreateTriggerSkill{
|
||||||
|
@ -268,110 +268,113 @@ Fk:loadTranslationTable {
|
||||||
["houguoyu"] = "侯国玉",
|
["houguoyu"] = "侯国玉",
|
||||||
|
|
||||||
["waao"] = "哇袄",
|
["waao"] = "哇袄",
|
||||||
[":waao"] = "锁定技,这个技能没什么用。这个武将也没什么用,给你作头像倒是可以。这个武将不会出现在牌局中。",
|
[":waao"] = "锁定技,除非被点将,这个武将不会出现在你的选将名单里。",
|
||||||
["$waao1"] = "哇袄",
|
["$waao1"] = "哇袄",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- 第二代简自豪
|
-- 第二代简自豪
|
||||||
-- local second__jianzihao = General(extension, "second__jianzihao", "god", 3, 3, General.Male)
|
local second__jianzihao = General(extension, "second__jianzihao", "qun", 3, 3, General.Male)
|
||||||
-- second__jianzihao.hidden = true
|
second__jianzihao.hidden = true
|
||||||
|
|
||||||
-- local sanjian = fk.CreateTriggerSkill{
|
local sanjian = fk.CreateTriggerSkill{
|
||||||
-- name = "sanjian",
|
name = "sanjian",
|
||||||
-- anim_type = "offensive",
|
anim_type = "drawcard",
|
||||||
-- frequency = Skill.Compulsory,
|
frequency = Skill.Compulsory,
|
||||||
-- events = {fk.EventPhase},
|
events = {fk.EventPhaseStart}, -- 事件开始时
|
||||||
-- can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
-- if not player:hasSkill(self.name) then return end
|
return target == player and player:hasSkill(self.name) -- 如果是我这个角色,如果是有这个技能的角色,如果是出牌阶段,如果这个角色的装备数是3
|
||||||
-- for _, move in ipairs(data) do
|
and player.phase == Player.Play and #player:getCardIds(Player.Equip) >= 3
|
||||||
-- if move.from == player.id then
|
end,
|
||||||
-- for _, info in ipairs(move.moveInfo) do
|
on_use = function(self, event, target, player, data)
|
||||||
-- if info.fromArea == Card.PlayerEquip or info.toArea == Card.PlayerEquip then
|
local room = player.room
|
||||||
-- -- 当装备等于1的时候触发
|
if #player:getCardIds(Player.Equip) >= 3 then
|
||||||
-- -- standard_cards/init.lua, line 1080: local handcards = player:getCardIds(Player.Hand),我也不知道为啥用的是Player.Hand而不是player.hand,写就对了
|
room:useVirtualCard("analeptic", nil, player, player, self.name, false)
|
||||||
-- if #player:getCardIds(Player.Equip) == 1 then
|
elseif #player:getCardIds(Player.Equip) >= 4 then
|
||||||
-- return true
|
room:useVirtualCard("ex_nihilo", nil, player, player, self.name, false)
|
||||||
-- end
|
end
|
||||||
-- end
|
end,
|
||||||
-- end
|
}
|
||||||
-- end
|
|
||||||
-- end
|
|
||||||
-- end,
|
|
||||||
-- on_use = function(self, event, target, player, data)
|
|
||||||
-- -- local room = player.room
|
|
||||||
-- -- room:useVirtualCard("peach", nil, player, player, self.name, false) -- 酒
|
|
||||||
-- player:drawCards(2)
|
|
||||||
-- end,
|
|
||||||
-- }
|
|
||||||
|
|
||||||
-- local sanjian = fk.CreateTriggerSkill{
|
local kaiju_2 = fk.CreateTriggerSkill{
|
||||||
-- name = "sanjian",
|
name = "kaiju_2",
|
||||||
-- anim_type = "drawcard",
|
anim_type = "masochism",
|
||||||
-- frequency = Skill.Compulsory,
|
frequency = Skill.Compulsory,
|
||||||
-- events = {fk.EventPhaseStart}, -- 事件开始时
|
events = {fk.EventPhaseStart},
|
||||||
-- can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
-- return target == player and player:hasSkill(self.name) -- 如果是我这个角色,如果是有这个技能的角色,如果是出牌阶段,如果这个角色的装备数是3
|
return target == player and player:hasSkill(self.name) and player.phase == Player.Start
|
||||||
-- and player.phase == Player.Play and #player:getCardIds(Player.Equip) >= 3
|
end,
|
||||||
-- end,
|
on_use = function(self, event, target, player, data)
|
||||||
-- on_use = function(self, event, target, player, data)
|
local room = player.room
|
||||||
-- local room = player.room
|
for _, p in ipairs(room:getOtherPlayers(player, true)) do
|
||||||
-- if #player:getCardIds(Player.Equip) >= 3 then
|
if not p:isAllNude() then
|
||||||
-- room:useVirtualCard("analeptic", nil, player, player, self.name, false)
|
choice = room:askForChoice(p, {"yes", "no"}, self.name, "#kaiju_2_choose", false, nil)
|
||||||
-- elseif #player:getCardIds(Player.Equip) >= 4 then
|
if choice == "yes" then
|
||||||
-- room:useVirtualCard("ex_nihilo", nil, player, player, self.name, false)
|
room:useVirtualCard("snatch", nil, player, p, self.name, true) -- 顺
|
||||||
-- end
|
room:useVirtualCard("fire__slash", nil, p, player, self.name, true) -- 杀
|
||||||
-- end,
|
end
|
||||||
-- }
|
end
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
-- local xizao_2 = fk.CreateTriggerSkill{
|
local xizao_2 = fk.CreateTriggerSkill{
|
||||||
-- name = "xizao_2",
|
name = "xizao_2",
|
||||||
-- anim_type = "defensive",
|
anim_type = "defensive",
|
||||||
-- frequency = Skill.Limited,
|
frequency = Skill.Limited,
|
||||||
-- events = {fk.AskForPeaches},
|
events = {fk.AskForPeaches},
|
||||||
-- can_trigger = function(self, event, target, player, data)
|
can_trigger = function(self, event, target, player, data)
|
||||||
-- return target == player and player:hasSkill(self) and player.dying and player:usedSkillTimes(self.name, Player.HistoryGame) == 0
|
return target == player and player:hasSkill(self) and player.dying and player:usedSkillTimes(self.name, Player.HistoryGame) == 0
|
||||||
-- end,
|
end,
|
||||||
-- on_use = function(self, event, target, player, data)
|
on_use = function(self, event, target, player, data)
|
||||||
-- local room = player.room
|
local room = player.room
|
||||||
-- if player.dead then return end
|
if player.dead then return end
|
||||||
-- -- player:reset()
|
-- player:reset()
|
||||||
-- player:drawCards(3, self.name)
|
player:drawCards(3, self.name)
|
||||||
-- if player.dead or not player:isWounded() then return end
|
if player.dead or not player:isWounded() then return end
|
||||||
-- -- 将体力回复至3点
|
-- 将体力回复至3点
|
||||||
-- room:recover({
|
room:recover({
|
||||||
-- who = player,
|
who = player,
|
||||||
-- num = math.min(1, player.maxHp) - player.hp,
|
num = math.min(1, player.maxHp) - player.hp,
|
||||||
-- recoverBy = player,
|
recoverBy = player,
|
||||||
-- skillName = self.name,
|
skillName = self.name,
|
||||||
-- })
|
})
|
||||||
-- player:throwAllCards("he")
|
player:throwAllCards("he")
|
||||||
-- end,
|
end,
|
||||||
-- }
|
}
|
||||||
|
|
||||||
-- second__jianzihao:addSkill("zhiheng")
|
second__jianzihao:addSkill(sanjian)
|
||||||
-- second__jianzihao:addSkill("jianxiong")
|
second__jianzihao:addSkill(kaiju_2)
|
||||||
-- second__jianzihao:addSkill(sanjian)
|
second__jianzihao:addSkill("paoxiao")
|
||||||
-- second__jianzihao:addSkill("kaiju")
|
second__jianzihao:addSkill("hongyan")
|
||||||
-- second__jianzihao:addSkill("hongwen")
|
|
||||||
-- second__jianzihao:addSkill("zouwei")
|
-- second__jianzihao:addSkill("zouwei")
|
||||||
-- second__jianzihao:addSkill("shengnu")
|
|
||||||
-- second__jianzihao:addSkill(xizao_2)
|
-- second__jianzihao:addSkill(xizao_2)
|
||||||
|
|
||||||
|
|
||||||
-- Fk:loadTranslationTable{
|
Fk:loadTranslationTable{
|
||||||
-- ["second__jianzihao"] = "简自豪",
|
["second__jianzihao"] = "简自豪",
|
||||||
|
|
||||||
-- ["sanjian"] = "三件",
|
["kaiju_2"] = "行窃",
|
||||||
-- [":sanjian"] = "锁定技,出牌阶段开始时,如果你的装备区有至少3张牌,你视为使用了一张【酒】;如果你的装备区有至少4张牌,你视为使用了一张【无中生有】。",
|
[":kaiju_2"] = [[锁定技,你的回合开始时,所有其他武将可以选择是否被你免费使用一张【顺手牵羊】。如果选择是,视为其对你使用一张【火杀】。<br>
|
||||||
|
<font size="2"><i>“偷我冠军奖杯可以,但你的狗命得留在我这!”——不知道谁说的</i></font>]],
|
||||||
|
["$kaiju_21"] = "不是啊,我炸一对鬼的时候我在打什么,打一对10。一对10,他四个9炸我,我不输了吗?",
|
||||||
|
["$kaiju_22"] = "怎么赢啊?你别瞎说啊!",
|
||||||
|
["$kaiju_23"] = "打这牌怎么打?兄弟们快教我,我看着头晕!",
|
||||||
|
["$kaiju_24"] = "好亏呀,我每一波都。",
|
||||||
|
["$kaiju_25"] = "被秀了,操。",
|
||||||
|
["#kaiju_2_choose"] = "是否让简自豪对你免费使用一次【顺手牵羊】,然后你对他免费使用一次【火杀】",
|
||||||
|
|
||||||
-- ["xizao_2"] = "驾崩",
|
["sanjian"] = "三件",
|
||||||
-- [":xizao_2"] = "限定技,当你处于濒死状态时,你可以将体力恢复至1,然后弃掉所有手牌和装备区的牌。",
|
[":sanjian"] = [[锁定技,出牌阶段开始时,如果你的装备区有至少3张牌,你视为使用了一张【酒】;如果你的装备区有至少4张牌,你视为使用了一张【无中生有】。<br>
|
||||||
-- ["$xizao_21"] = "呃啊啊啊啊啊啊啊!!",
|
<font size="2"><i>“又陷入劣势了,等乌兹三件套吧!”——不知道哪个解说说的</i></font>]],
|
||||||
-- ["$xizao_22"] = "也不是稳赢吧,我觉得赢了!",
|
|
||||||
|
|
||||||
-- ["~second__jianzihao"] = "好像又要倒下了……",
|
["xizao_2"] = "喜澡",
|
||||||
-- }
|
[":xizao_2"] = "限定技,当你处于濒死状态时,你可以弃掉所有装备区的牌,然后将体力恢复至1。",
|
||||||
|
["$xizao_21"] = "呃啊啊啊啊啊啊啊!!",
|
||||||
|
["$xizao_22"] = "也不是稳赢吧,我觉得赢了!",
|
||||||
|
|
||||||
|
["~second__jianzihao"] = "好像又要倒下了……",
|
||||||
|
}
|
||||||
|
|
||||||
Fk:loadTranslationTable {
|
Fk:loadTranslationTable {
|
||||||
["jianzihao"] = "简自豪",
|
["jianzihao"] = "简自豪",
|
||||||
|
|
Loading…
Reference in New Issue