[DiscordArchive] does Jesus care?
[DiscordArchive] does Jesus care?
Archived author: Malcrom • Posted: 2023-06-23T21:45:07.692000+00:00
Original source
no idea how to do reward quest
Archived author: ModoX • Posted: 2023-06-23T21:45:59.288000+00:00
Original source
just ->CompleteQuest(id)
Archived author: ModoX • Posted: 2023-06-23T21:46:01.536000+00:00
Original source
and dont use the killer
Archived author: ModoX • Posted: 2023-06-23T21:46:06.394000+00:00
Original source
use playerguid from m_personalLoot to get player
Archived author: ModoX • Posted: 2023-06-23T21:46:18.355000+00:00
Original source
imagine partying up with 4 frends
Archived author: ModoX • Posted: 2023-06-23T21:47:16.870000+00:00
Original source
it will implicitly reward it due to being flagged tracking quest
Archived author: Malcrom • Posted: 2023-06-23T21:47:40.970000+00:00
Original source
I need another drink
Archived author: Malcrom • Posted: 2023-06-23T21:48:25.648000+00:00
Original source
```c++
void JustDied(Unit* killer) override
{
for (auto const& [playerGuid, loot] : me->m_personalLoot)
{
for (LootItem const& lootItem : loot->items)
{
if (lootItem.itemid == 174791 || lootItem.itemid == 174792 || lootItem.itemid == 174793 || lootItem.itemid == 174794)
if (Player* player = ObjectAccessor::GetPlayer(*me, playerGuid))
player->CompleteQuest(58883);
}
}
}
```
Archived author: Malcrom • Posted: 2023-06-23T21:48:31.631000+00:00
Original source
fixy
Archived author: ModoX • Posted: 2023-06-23T21:48:48.387000+00:00
Original source
ur still using killer