Difference between revisions of "GetDefaultDieDecay"

From UODemo Wiki
Jump to: navigation, search
Line 6: Line 6:
 
<pre>
 
<pre>
 
0x48 = mode 1
 
0x48 = mode 1
0xF0 = mode 0
+
0xFA = mode 0
 
0xFF = mode 2
 
0xFF = mode 2
 
</pre>
 
</pre>

Revision as of 20:20, 11 August 2011

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 to server is currently using. The following list represents the return value of this function and the related mode.

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.