You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in npcs_special.cpp, the following code doesn't seem to work. Unless my luck is just really really bad, tried about 250+ times :0
Does the random even work?
Also you can skip the whole /chicken part, by just saying /cheer to the chicken which isn't correct. So we need a check on TEXTEMOTE_CHEER to make sure the target is friendly.
if (uiEmote == TEXTEMOTE_CHICKEN)
{
if (!urand(0, 29))
{
if (pPlayer->GetQuestStatus(QUEST_CLUCK) == QUEST_STATUS_NONE)
{
m_creature->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
m_creature->setFaction(FACTION_FRIENDLY);
DoScriptText(EMOTE_A_HELLO, m_creature);
/* are there any difference in texts, after 3.x ?
if (pPlayer->GetTeam() == HORDE)
DoScriptText(EMOTE_H_HELLO, m_creature);
else
DoScriptText(EMOTE_A_HELLO, m_creature);
*/
}
}
}
in npcs_special.cpp, the following code doesn't seem to work. Unless my luck is just really really bad, tried about 250+ times :0
Does the random even work?
Also you can skip the whole /chicken part, by just saying /cheer to the chicken which isn't correct. So we need a check on TEXTEMOTE_CHEER to make sure the target is friendly.
Source: http://www.wowwiki.com/Quest:CLUCK!
The text was updated successfully, but these errors were encountered: