FreeKill/lua/server/mark_enum.lua
YoumuKon d4bb4e21bb
禅与bugfix (#312)
- 将Utility如canUseCardTo的一些函数搬运到了本体
- 为技能添加hooked_piles属性,当失去技能时自动弃置hooked_piles内的所有私人牌堆
- 修复了添加技能没写source_skill的bug
- 修复了ActiveSkill的interaction不传入Skill本身而是metatable的bug
- 修复了主动询问canUse时没有传入extra_data的bug
- 修复了多选时按钮选项变回空白的bug
- 修复了判定阶段被中途拿走判定牌后报错的bug
2024-02-04 15:55:44 +08:00

57 lines
1.8 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- SPDX-License-Identifier: GPL-3.0-or-later
MarkEnum = {}
---跳过觉醒标记(值为技能名通过+连接)
MarkEnum.StraightToWake = "_straight_to_wake"
---转换技状态标记前缀(整体为前缀+转换技技能)
MarkEnum.SwithSkillPreName = "__switcher_"
---使命技状态标记前缀(整体为前缀+使命技技能)
MarkEnum.QuestSkillPreName = "__questPre_"
---增加标记值数量的手牌上限
MarkEnum.AddMaxCards = "AddMaxCards"
---于本回合内增加标记值数量的手牌上限
MarkEnum.AddMaxCardsInTurn = "AddMaxCards-turn"
---减少标记值数量的手牌上限
MarkEnum.MinusMaxCards = "MinusMaxCards"
---于本回合内减少标记值数量的手牌上限
MarkEnum.MinusMaxCardsInTurn = "MinusMaxCards-turn"
---使用牌无次数限制
MarkEnum.BypassTimesLimit = "BypassTimesLimit"
---使用牌无距离限制
MarkEnum.BypassDistancesLimit = "BypassDistancesLimit"
---对其使用牌无次数限制
MarkEnum.BypassTimesLimitTo = "BypassTimesLimitTo"
---对其使用牌无距离限制
MarkEnum.BypassDistancesLimitTo = "BypassDistancesLimitTo"
---非锁定技失效
MarkEnum.UncompulsoryInvalidity = "UncompulsoryInvalidity"
---不可明置值为表m - 主将, d - 副将)
MarkEnum.RevealProhibited = "RevealProhibited"
---不计入距离、座次后缀
MarkEnum.PlayerRemoved = "PlayerRemoved"
---各种清除标记后缀
---
---phase阶段结束后
---
---turn回合结束后
---
---round轮次结束后
MarkEnum.TempMarkSuffix = { "-phase", "-turn", "-round" }
---卡牌标记版本的清除标记后缀
---
---phase阶段结束后
---
---turn回合结束后
---
---round轮次结束后
---
---inhand离开手牌区后
MarkEnum.CardTempMarkSuffix = { "-phase", "-turn", "-round",
"-inhand" }