GetDefaultDieDecay

From UODemo Wiki
Jump to: navigation, search

integer getDefaultDieDecay(void);

This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: House decay time.

This function can be used to detect the decay mode the server is currently using. The following list represents the return values of this function and the related decay modes.

0x48 = mode 1
0xFA = mode 0
0xFF = mode 2

Please refer to the setDecayTest function for more information about the modes.


Return to the Command List.