in_bad_moon()

From KoLMafia
Jump to: navigation, search

Function Syntax

boolean in_bad_moon()

This function will return true if you are under the Bad Moon sign. If you are under any other sign, if will return false.

Code Samples

This code will change your familiar to a black cat when in Bad Moon.

if(in_bad_moon()) {
   if(my_familiar() != $familiar[black cat]) {
      use_familiar($familiar[black cat]);
   }
}

See Also

Special

Returns false when not logged in.