More task comments ..

This commit is contained in:
Michael Cook (mackal) 2018-06-07 18:14:09 -04:00
parent b61f612fbe
commit 653824ae9e

View File

@ -1187,7 +1187,9 @@ void TaskManager::SendTaskSelectorNew(Client *c, Mob *mob, int TaskCount, int *T
auto outapp = new EQApplicationPacket(OP_OpenNewTasksWindow, PacketLength);
outapp->WriteUInt32(ValidTasks); // TaskCount
outapp->WriteUInt32(2); // Type, valid values: 1-3, 1 is shared task
outapp->WriteUInt32(2); // Type, valid values: 0-3. 0 = Task, 1 = Shared Task, 2 = Quest, 3 = ???
// so I guess an NPC can only offer one type of quests or we can only open a selection with one type :P (so quest call can tell us I guess)
// this is also sent in OP_TaskDescription
outapp->WriteUInt32(mob->GetID()); // TaskGiver
for(int i=0; i<TaskCount;i++) { // max 40