phase_area

Back-to:World


Tables: phase_area

General

PhaseIds added to player by zone/area events. 
Each line holds one Zone or Area with one phaseId and a description.  Each line is active by default. With the table conditions you can edit the working range of the phase.

Structure

FieldTypeNullKeyDefaultExtra
AreaIdintNoPri0
PhaseIdintNoPri0
Commentvarchar




Description of the fields

AreaId

This is the Zone or Area identifier, see AreaTrigger.dbc

PhaseId

This is the connected PhaseId 

Comment

A free description.


Examples

As Demo we look at Kezan, Startarea Goblin.

The Player-Character is starting with PhaseId 378 and change on Quest Reward 14109 to Phase 379.

So first we set the definition of both phaseIds to table phase_area

AreaIdPhaseIdComment
4737378Kezan startarea
4737379Kezan startarea

Now we must declare the Quest-Range by using conditions. Note: we starting from start in phase 378, so we need no start-range, only the end range

SourceTypeOrReferenceIdSourceGroupSourceEntryConditionTypeOrReferenceConditionValue1NegativeConditionComment
2637847378141091Kezan Set in Phase 378 from start to -Reward 14109

Next we declare the following range for phase 379 starting with reward on quest 10109 and end on reward quest 14153

SourceTypeOrReferenceIdSourceGroupSourceEntryConditionTypeOrReferenceConditionValue1NegativeConditionComment
2637947378141090Kezan Set in Phase 379 from reward 14109
2637947378141531Kezan Set in Phase 379 to reward 14153

And so on....

Note: The quest 14109/14110 14113/14153 are Required Gender Quest.