实现目标
特定条件下使区域相位生效
实现方法
conditions
- SourceTypeOrReferenceId:26(CONDITION_SOURCE_TYPE_PHASE)
- SourceGroup:相位ID,取值链接 phase_area.PhaseId
- SourceEntry:相位生效的区域ID,取值链接 phase_area.AreaId(填 0 对任意区域均生效)
- SourceId:0
可搭配多种条件使用,比如:
- 2:在特定法术光环下(CONDITION_AURA)
- 47:在特定任务状态下(CONDITION_QUESTSTATE)
举例
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4295, 7344, 0, 0, 47, 0, 37507, 2 | 64, 0, 1, 'Apply Phase 4295 if Quest 37507 is not completed | rewarded'),
(26, 4303, 7344, 0, 0, 47, 0, 37507, 2 | 64, 0, 0, 'Apply Phase 4303 if Quest 37507 is completed | rewarded');