[DiscordArchive] So in this case if you're not flagged for pvp then you cant cast heal/buff on npc, am i correct?
[DiscordArchive] So in this case if you're not flagged for pvp then you cant cast heal/buff on npc, am i correct?
Archived author: NotepadGuy • Posted: 2022-05-24T03:06:41.856000+00:00
Original source
So in this case if you're not flagged for pvp then you cant cast heal/buff on npc, am i correct?
Archived author: Vlathis • Posted: 2022-05-24T03:58:07.612000+00:00
Original source
Normal is PvE, yeah, not sure why the config uses that but uses Blizzard's type names for other server types, but that appears to be correct. The logic is just that not everyone wants to be forced into PvP.
Archived author: Vlathis • Posted: 2022-05-24T03:59:50.771000+00:00
Original source
Friendly NPCs you can still buff and heal I'm pretty sure. It might flag you for PvP if you cast a friendly spell on an NPC that's actively fighting a player, I forget if that was a thing or not.
Archived author: NotepadGuy • Posted: 2022-05-24T04:04:24.174000+00:00
Original source
So how does this work? I mean in normal/PvE we can't cast spells/buff to npc like for example; healing npc roberts for quest garments of the light.
Archived author: Vlathis • Posted: 2022-05-24T04:15:28.731000+00:00
Original source
Guard Roberts, ID 12423? I just tested and there does seem to be a bug with him, I'd have to look more to be sure but most likely I'd say he has an incorrect faction set in the DB. This should have nothing to do with realm type, I can heal Stormwind Guards with an Alliance character on a PvE/normal realm. It looks like it may have flagged me for PvP anyways, probably because they're city guards or something, but it lets me do it.
Archived author: Vlathis • Posted: 2022-05-24T04:16:04.112000+00:00
Original source
Roberts I can't heal even while flagged for PvP. Definitely an issue with him specifically.
Archived author: NotepadGuy • Posted: 2022-05-24T04:22:15.287000+00:00
Original source
Now im confused
Archived author: NotepadGuy • Posted: 2022-05-24T04:22:38.961000+00:00
Original source
They say it has nothing to do with the npc itself
Archived author: NotepadGuy • Posted: 2022-05-24T04:31:26.869000+00:00
Original source
Cant we make something like this
```c++
bool isQuestactive(garments)
[.. something]
return true : false
//Temporarily enable pvp if quest is active
While true
if Questactive
setpvp->true
else
setpvp->false
```
If pvp flagging was the problem for npc that has those garments quest
Archived author: Vlathis • Posted: 2022-05-24T04:39:38.591000+00:00
Original source
You can set flag 8192 on the quest in the DB to achieve the same result I believe. I can't heal the NPC even with PvP flag enabled though. I'm not sure who told you it has nothing to do with the NPC, but you should be able to change his faction to make him healable.