spell_phase - 法术阶段表

此表用于定义法术在不同游戏阶段(Phase)中的可用性,是AzerothCore 3.3.5a特有的功能。

表结构

字段名 类型 说明
spell_id mediumint(8) 法术ID,对应spell.dbc
phase_id smallint(5) 阶段ID,定义法术可用的游戏阶段
flags tinyint(3) 标志位,控制法术在阶段中的行为

使用示例

限制法术在特定阶段可用

以下SQL示例展示了如何限制法术仅在阶段2可用:

INSERT INTO spell_phase (spell_id, phase_id, flags) VALUES (12345, 2, 0);

相关表