GetDefaultDieDecay

From UODemo Wiki
Revision as of 18:56, 21 July 2016 by Derrick (talk | contribs) (Update URL's to point to UO98.org)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.