用户工具

站点工具


数据库:world数据库:game_event_condition

game_event_condition 表


<-返回:World 数据库

This table contains conditions to meet for the specified game event to be completed. Also contains the world state fields used for reporting the given conditions progress and/or max required value. This table will do absolutely nothing if you have not set the event to be a world event.

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
eventEntryTINYINTUNSIGNEDPRINO Entry of the game event
condition_idMEDIUMINTUNSIGNEDPRINO
req_numFLOATSIGNED YES0
max_world_state_fieldSMALLINTUNSIGNED NO
done_world_state_fieldSMALLINTUNSIGNED NO
descriptionVARCHAR(25)SIGNED NO

字段说明


eventEntry

This is a link to the event entry in the game_event table.

condition_id

This is the condition ID for this particular world event condition. It is an arbitrary number, and you can have multiple conditions for each world event. It links to the condition_id field of the game_event_quest_condition table.

req_num

This is an arbitrary value that determines when this condition is met. For example, if you set this value to 1000, and there is only one quest in game_event_quest_condition that will fulfill this condition, and it increases this condition by 100 (by setting the num field to 100), then you would need to have your players complete 10 of that quest to fulfill this condition.

max_world_state_field

This is the world state update field number sent to the client that is used to report the maximum number of needed points in order to satisfy this condition. It can be found in gossip texts referenced with $XXXXw where XXXX is the world state number that will be sent when that gossip is displayed. If you are doing a custom event, you can pick any number you want that isn't in use, it just needs to match the custom text that you put into the npc_text table.

done_world_state_field

This is the world state update field number sent to the client that is used to report the number of accumulated points so far for this condition. It can be found in gossip texts referenced with $XXXXw where XXXX is the world state number that will be sent when that gossip is displayed. If you are doing a custom event, you can pick any number you want that isn't in use, it just needs to match the custom text that you put into the npc_text table.

description

Arbitrary text field describing this condition.

数据库/world数据库/game_event_condition.txt · 最后更改: 2023/09/24 20:02 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki