Having no idea whatsoever how it's actually handled, I feel perfectly qualified to pitch an idea for how it should work.
Initiate a quest with an NPC. That should pass the quest completion criteria to the client's task window.
quest::task(type,quantity,id);
Where type is the type of quest (collect or kill), quantity is how many must be collected/killed, and id is either the item ID or NPC ID.
Is there an op_code triggered by looting a certain item ID or killing an NPC of a certain type?
Feel free to shoo me away from this thread. I know I'm in far over my head. Just pitching that out there, though, as a rough example.
|