SetDecayTest

From UODemo Wiki
Jump to: navigation, search

void setDecayTest(integer NewDecayTestMode);

This function can be used to set the object decay mode of the server. Reverse engineering (source) has shown that 3 modes exist.

0 = no testing aka normal decay
1 = fast decay
2 = no decay aka ageless

If you pass any number other than 0, 1 or 2 then mode 2 is assumed and activated by this function. There is no true function that can be used to get the current decay mode, but you can use the getDefaultDieDecay function for this purpose by interpreting its return value.


Return to the Command List.