my_enthroned_familiar()

From KoLMafia
Jump to: navigation, search

Function Syntax

familiar my_enthroned_familiar()

Returns the familiar currently enthroned.

Code Sample

Returns true if the El Vibrato Megadrone is successfully equipped to the Crown of Thrones.

boolean enthrone_megadrone() {
   if (my_enthroned_familiar()!=$familiar[el vibrato megadrone])
      return enthrone_familiar($familiar[megadrone]);
   return false;
}

See Also