Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Game event condition tc2eventEntry

tinyint(3)

unsigned

PRI

NO

 

 

Entry of the game event

Game event condition tc2_id

mediumint(8)

unsigned

PRI

NO

0

 

 Game event condition tc2

req_num

float

signed

 

YES

0

 

 Game event condition tc2

max_world_state_field

smallint(5)

unsigned

 

NO

0

 

 Game event condition tc2

done_world_state_field

smallint(5)

unsigned

 

NO

0

 

 

Game event condition tc2description

varchar(25)

signed

 

NO

"

 

 

Description of the fields

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.