have_familiar()

fronobulax

Developer
Staff member
have_familiar($familiar[none]) returns false which seems counter-intuitive to me. It came up while trying to use Wossname during an AoB run. Logically it seems that I always have the possibility of no familiar so I wonder if the behavior in this case should be changed?
 
I quite like the function being used in bumcheekascend to test for availability of a familiar:
Code:
boolean have_path_familiar(familiar fam) {
	if(my_path() == "Trendy")
		return have_familiar(fam) && is_trendy(fam);
	else if(my_path() == "Bees Hate You")
		return have_familiar(fam) && !contains_text(to_lower_case(to_string(fam)), "b");
	else if(my_path() == "Avatar of Boris")
		return false;
	else
		return have_familiar(fam);
}

That said, it doesn't really solve your problem, it circumvents it... :)
 
Back
Top