quest_db: (// Quest Database///****************************************************************************** ************* Entry structure ************************************************ ******************************************************************************{ Id: Quest ID [int] Name: Quest Name [string] TimeLimit: Time Limit (seconds) [int, optional] Targets: ( [array, optional] { MobId: Mob ID [int] Count: [int] }, ... (can repeated up to MAX_QUEST_OBJECTIVES times) ) Drops: ( { ItemId: Item ID to drop [int] Rate: Drop rate [int] MobId: Mob ID to match [int, optional] }, ... (can be repeated) )},
since the quest structure has been updated.
Is it possible Hercules implement a script command to retrieve the information based on quest id ?
it seem like useful for script that link to the quests.
You dont need to hardcore what monster/item are going to hunt in the script.
since the quest structure has been updated.
Is it possible Hercules implement a script command to retrieve the information based on quest id ?
it seem like useful for script that link to the quests.
You dont need to hardcore what monster/item are going to hunt in the script.
Code:
getquestinfo( <param> ); 1 - quest ID 2 - quest Name 3 - time limit 4 - array of targets (mob id + count) 5 - array of drops (item id + count)