Guys, i’m having an issue with QUEST_STATUS on my custom script. When i want sript to do something when you finish quest, should it be QuestStatus::[COLOR=rgb(0,0,0)]QUEST_STATUS_REWARDED? Becouse nothing happens.
Here is the script itself:
void OnQuestStatusChange(Player* player, uint32 questId, QuestStatus qu$
{
if((questId==30000)&&(questStatus==QuestStatus::QUEST_STATUS_REWARDED
{
player->ResurrectPlayer(0.5f,false);
player->SetFullHealth();
player->SpawnCorpseBones();
}
[COLOR=rgb(0,0,0)]}
[COLOR=rgb(0,0,0)]Quest dosen’t have any reward, could problem be there?
Thank you for any answers