mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 09:26:36 +00:00
[Tasks] Use dz switch id for task touch events (#2344)
This changes task touch elements to use the dz_switch_id as the goal id instead of checking if a player zoned. It will remove the need to script door clicks or modify task element zone field since task packet data can just be imported.
This commit is contained in:
@@ -1178,6 +1178,10 @@ public:
|
||||
}
|
||||
else { return false; }
|
||||
}
|
||||
void UpdateTasksOnTouchSwitch(int dz_switch_id)
|
||||
{
|
||||
if (task_state) { task_state->UpdateTasksOnTouch(this, dz_switch_id); }
|
||||
}
|
||||
inline void TaskSetSelector(Mob *mob, int task_set_id)
|
||||
{
|
||||
if (task_manager) {
|
||||
|
||||
Reference in New Issue
Block a user