I was writing a script which involves grabbing a daily outfit if it's missing. I have one character with the orphan, and the rest of them don't. It went into an infinite combat loop when testing on a character without the appropriate familiar. So I did some testing:
familiar orphan = "li'l Orphan Tot".to_familiar();
if (orphan.have_familiar())
{
print("Have familiar");
}
This prints "Have familiar" even on characters without the familiar. Am I doing something wrong, or is this a bug? (Just tested using build 17885).
familiar orphan = "li'l Orphan Tot".to_familiar();
if (orphan.have_familiar())
{
print("Have familiar");
}
This prints "Have familiar" even on characters without the familiar. Am I doing something wrong, or is this a bug? (Just tested using build 17885).