FreeKill/docs/fkp/ref/all_event.rst

193 lines
14 KiB
ReStructuredText
Raw Normal View History

.. SPDX-License-Identifier: GFDL-1.3-or-later
所有触发时机
============
下表列出了所有触发时机,以及它们对应的相关变量。
(摸鱼了,没写完所有变量)
.. container:: center
+---------------------------+---------------------------+------------+
| **时机** | **相关变量** | **可重写** |
+===========================+===========================+============+
| 游戏开始时 | | |
+---------------------------+---------------------------+------------+
| 回合即将开始时 | | |
+---------------------------+---------------------------+------------+
| 阶段开始时 | | |
+---------------------------+---------------------------+------------+
| 阶段结束时 | | |
+---------------------------+---------------------------+------------+
| 阶段被跳过时 | | |
+---------------------------+---------------------------+------------+
| 摸牌阶段摸牌时 | ` | |
| | `'摸牌数量'``\ :数字类型 | |
+---------------------------+---------------------------+------------+
| 摸牌阶段摸牌后 | 同上 | |
+---------------------------+---------------------------+------------+
| 分发起始手牌时 | 同上 | |
+---------------------------+---------------------------+------------+
| 分发起始手牌后 | 同上 | |
+---------------------------+---------------------------+------------+
| 回复体力时 | | |
+---------------------------+---------------------------+------------+
| ` | | |
| `'回复的牌'``\ :卡牌类型 | | |
+---------------------------+---------------------------+------------+
| ``'回复值'``\ :数字类型 | | |
+---------------------------+---------------------------+------------+
| 回复体力后 | 同上 | |
+---------------------------+---------------------------+------------+
| 失去体力前 | ``'失去值'``\ :数字类型 | |
+---------------------------+---------------------------+------------+
| 失去体力后 | 同上 | |
+---------------------------+---------------------------+------------+
| 体力变化后 | | |
+---------------------------+---------------------------+------------+
| 体力上限变化后 | | |
+---------------------------+---------------------------+------------+
| 失去技能后 | ``'技能'``\ :字符串类型 | |
+---------------------------+---------------------------+------------+
| 获得技能后 | 同上 | |
+---------------------------+---------------------------+------------+
| 开始判定时 | | |
+---------------------------+---------------------------+------------+
| 改判前 | | |
+---------------------------+---------------------------+------------+
| 改判后 | | |
+---------------------------+---------------------------+------------+
| 判定完成后 | | |
+---------------------------+---------------------------+------------+
| 拼点时 | | |
+---------------------------+---------------------------+------------+
| 拼点后 | | |
+---------------------------+---------------------------+------------+
| 翻面后 | | |
+---------------------------+---------------------------+------------+
| 连环状态改变后 | | |
+---------------------------+---------------------------+------------+
| 造成伤害时 | | |
+---------------------------+---------------------------+------------+
| ` | | |
| `'伤害目标'``\ :玩家类型 | | |
+---------------------------+---------------------------+------------+
| ``'造 | | |
| 成伤害的牌'``\ :卡牌类型 | | |
+---------------------------+---------------------------+------------+
| ``'伤害值'``\ :数字类型 | | |
+---------------------------+---------------------------+------------+
| ``'伤害属性 | | |
| '``\ :枚举值(数字类型) | | |
+---------------------------+---------------------------+------------+
| ``'造成伤 | | |
| 害的原因'``\ :字符串类型 | | |
+---------------------------+---------------------------+------------+
| ``' | | |
| 伤害被防止'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| ``'伤害 | | |
| 是传导伤害'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| 受到伤害时 | 同上 | |
+---------------------------+---------------------------+------------+
| 造成伤害后 | 同上 | |
+---------------------------+---------------------------+------------+
| 受到伤害后 | 同上 | |
+---------------------------+---------------------------+------------+
| 造成伤害结算完成后 | 同上 | |
+---------------------------+---------------------------+------------+
| 进入濒死时 | | |
+---------------------------+---------------------------+------------+
| ``'濒死 | | |
| 的伤害来源'``\ :玩家类型 | | |
+---------------------------+---------------------------+------------+
| ``'造成濒死 | | |
| 的伤害的牌'``\ :卡牌类型 | | |
+---------------------------+---------------------------+------------+
| ``'濒 | | |
| 死的伤害值'``\ :数字类型 | | |
+---------------------------+---------------------------+------------+
| ``'濒死的伤害属性 | | |
| '``\ :枚举值(数字类型) | | |
+---------------------------+---------------------------+------------+
| ``'造成濒死的伤 | | |
| 害的原因'``\ :字符串类型 | | |
+---------------------------+---------------------------+------------+
| ``'濒死的 | | |
| 伤害被防止'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| ``'濒死的伤害 | | |
| 是传导伤害'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| 进入濒死后 | 同上 | |
+---------------------------+---------------------------+------------+
| 脱离濒死后 | 同上 | |
+---------------------------+---------------------------+------------+
| 求桃开始时 | 同上 | |
+---------------------------+---------------------------+------------+
| 求桃完成后 | 同上 | |
+---------------------------+---------------------------+------------+
| 角色阵亡时 | | |
+---------------------------+---------------------------+------------+
| ``'死亡 | | |
| 的伤害来源'``\ :玩家类型 | | |
+---------------------------+---------------------------+------------+
| ``'造成死亡 | | |
| 的伤害的牌'``\ :卡牌类型 | | |
+---------------------------+---------------------------+------------+
| ``'死 | | |
| 亡的伤害值'``\ :数字类型 | | |
+---------------------------+---------------------------+------------+
| ``'死亡的伤害属性 | | |
| '``\ :枚举值(数字类型) | | |
+---------------------------+---------------------------+------------+
| ``'造成死亡的伤 | | |
| 害的原因'``\ :字符串类型 | | |
+---------------------------+---------------------------+------------+
| ``'死亡的 | | |
| 伤害被防止'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| ``'死亡的伤害 | | |
| 是传导伤害'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| 阵亡后判定胜负前 | 同上 | |
+---------------------------+---------------------------+------------+
| 阵亡后判定胜负时 | 同上 | |
+---------------------------+---------------------------+------------+
| 打出卡牌时 | | |
+---------------------------+---------------------------+------------+
| ``' | | |
| 响应的目标'``\ :玩家类型 | | |
+---------------------------+---------------------------+------------+
| ``'响应 | | |
| 的牌被使用'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| ``'响应 | | |
| 的牌被改判'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| ``'响应 | | |
| 的牌是手牌'``\ :布尔类型 | | |
+---------------------------+---------------------------+------------+
| 打出卡牌后 | 同上 | |
+---------------------------+---------------------------+------------+
| 卡牌移动前 | | |
+---------------------------+---------------------------+------------+
| 卡牌移动后 | | |
+---------------------------+---------------------------+------------+
| 卡牌使用后 | | |
+---------------------------+---------------------------+------------+
| 指定目标时 | | |
+---------------------------+---------------------------+------------+
| 确定目标时 | | |
+---------------------------+---------------------------+------------+
| 指定目标后 | | |
+---------------------------+---------------------------+------------+
| 确定目标后 | | |
+---------------------------+---------------------------+------------+
| 卡牌生效后 | | |
+---------------------------+---------------------------+------------+
| 卡牌结算完成后 | | |
+---------------------------+---------------------------+------------+