mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
d4bb4e21bb
- 将Utility如canUseCardTo的一些函数搬运到了本体 - 为技能添加hooked_piles属性,当失去技能时自动弃置hooked_piles内的所有私人牌堆 - 修复了添加技能没写source_skill的bug - 修复了ActiveSkill的interaction不传入Skill本身而是metatable的bug - 修复了主动询问canUse时没有传入extra_data的bug - 修复了多选时按钮选项变回空白的bug - 修复了判定阶段被中途拿走判定牌后报错的bug
57 lines
1.8 KiB
Lua
57 lines
1.8 KiB
Lua
-- 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" }
|