I don't think there's any question about just where it's failing. It performs every function up to (but not including) the following "elsif" section. Nothing in this section is working:
Code:
elsif ($client->FindBuff(5257) || $client->FindBuff(3467) || $client->FindBuff(1447) || $client->FindBuff(3692) || $client->FindBuff(312))
{
$client->BuffFadeBySpellID(5257);
$client->BuffFadeBySpellID(3467);
$client->BuffFadeBySpellID(1447);
$client->BuffFadeBySpellID(3692);
$client->BuffFadeBySpellID(312);
quest::setguild(0,1);
}
Anything
apparently wrong with these quest objects?