[DiscordArchive] Which flags does an NPC need so that he can be healed?
[DiscordArchive] Which flags does an NPC need so that he can be healed?
Archived author: Tea • Posted: 2024-05-20T12:39:40.927000+00:00
Original source
unit->HasUnitFlag(UNIT_FLAG_PLAYER_CONTROLLED) is obviously true (its the player)
Archived author: Tea • Posted: 2024-05-20T12:40:33.501000+00:00
Original source
pvpflags are set in creature_addon
![[Image: Screenshot_2024-05-20_144143.png?ex=690b...dcb72bd5d&]](https://cdn.discordapp.com/attachments/376457042392514560/1242095092102205532/Screenshot_2024-05-20_144143.png?ex=690beef2&is=690a9d72&hm=c1312192248c650be28826b6639480957a194f0c468ff8366b9f698dcb72bd5d&)
Archived author: Krutok • Posted: 2024-05-20T12:42:26.988000+00:00
Original source
I tried that
![[Image: Screenshot_2024-05-20_144143.png?ex=690b...dcb72bd5d&]](https://cdn.discordapp.com/attachments/376457042392514560/1242095092102205532/Screenshot_2024-05-20_144143.png?ex=690beef2&is=690a9d72&hm=c1312192248c650be28826b6639480957a194f0c468ff8366b9f698dcb72bd5d&)