Forums WoW Modding Support Archives TrinityCore Discord Archives [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?

[DiscordArchive] So in this case if you're not flagged for pvp then you cant cast heal/buff on npc, am i correct?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-24-2022, 03:06 AM
#1
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?
rektbyfaith
05-24-2022, 03:06 AM #1

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?

rektbyfaith
Administrator
0
05-24-2022, 03:58 AM
#2
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.
rektbyfaith
05-24-2022, 03:58 AM #2

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.

rektbyfaith
Administrator
0
05-24-2022, 03:59 AM
#3
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.
rektbyfaith
05-24-2022, 03:59 AM #3

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.

rektbyfaith
Administrator
0
05-24-2022, 04:04 AM
#4
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.
rektbyfaith
05-24-2022, 04:04 AM #4

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.

rektbyfaith
Administrator
0
05-24-2022, 04:15 AM
#5
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.
rektbyfaith
05-24-2022, 04:15 AM #5

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.

rektbyfaith
Administrator
0
05-24-2022, 04:16 AM
#6
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.
rektbyfaith
05-24-2022, 04:16 AM #6

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.

rektbyfaith
Administrator
0
05-24-2022, 04:22 AM
#7
Archived author: NotepadGuy • Posted: 2022-05-24T04:22:15.287000+00:00
Original source

Now im confused
rektbyfaith
05-24-2022, 04:22 AM #7

Archived author: NotepadGuy • Posted: 2022-05-24T04:22:15.287000+00:00
Original source

Now im confused

rektbyfaith
Administrator
0
05-24-2022, 04:22 AM
#8
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
rektbyfaith
05-24-2022, 04:22 AM #8

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

rektbyfaith
Administrator
0
05-24-2022, 04:31 AM
#9
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
rektbyfaith
05-24-2022, 04:31 AM #9

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

rektbyfaith
Administrator
0
05-24-2022, 04:39 AM
#10
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.
rektbyfaith
05-24-2022, 04:39 AM #10

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.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)