In bad moon

From Kolmafia
Jump to navigation Jump to 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

in_hardcore() | my_path() | my_sign()

Special

Returns false when not logged in.