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

[DiscordArchive] Which flags does an NPC need so that he can be healed?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-20-2024, 12:03 PM
#1
Archived author: Krutok • Posted: 2024-05-20T12:03:30.257000+00:00
Original source

Which flags does an NPC need so that he can be healed?
rektbyfaith
05-20-2024, 12:03 PM #1

Archived author: Krutok • Posted: 2024-05-20T12:03:30.257000+00:00
Original source

Which flags does an NPC need so that he can be healed?

rektbyfaith
Administrator
0
05-20-2024, 12:19 PM
#2
Archived author: Srzm • Posted: 2024-05-20T12:19:34.171000+00:00
Original source

Iirc the Disciple of Naralex in the Wailing Caverns should be healable.
Maybe that's a start to look how it's done?
rektbyfaith
05-20-2024, 12:19 PM #2

Archived author: Srzm • Posted: 2024-05-20T12:19:34.171000+00:00
Original source

Iirc the Disciple of Naralex in the Wailing Caverns should be healable.
Maybe that's a start to look how it's done?

rektbyfaith
Administrator
0
05-20-2024, 12:31 PM
#3
Archived author: Krutok • Posted: 2024-05-20T12:31:29.167000+00:00
Original source

I've already tested the flags and they don't work. I have a quest boss that also causes damage to my NPC and that works perfectly, but unfortunately it cannot be healed. NPC has faction 1665 player friendly for creatures vulnerable to attack.
rektbyfaith
05-20-2024, 12:31 PM #3

Archived author: Krutok • Posted: 2024-05-20T12:31:29.167000+00:00
Original source

I've already tested the flags and they don't work. I have a quest boss that also causes damage to my NPC and that works perfectly, but unfortunately it cannot be healed. NPC has faction 1665 player friendly for creatures vulnerable to attack.

rektbyfaith
Administrator
0
05-20-2024, 12:32 PM
#4
Archived author: Tea • Posted: 2024-05-20T12:32:16.303000+00:00
Original source

its not npcflags
rektbyfaith
05-20-2024, 12:32 PM #4

Archived author: Tea • Posted: 2024-05-20T12:32:16.303000+00:00
Original source

its not npcflags

rektbyfaith
Administrator
0
05-20-2024, 12:32 PM
#5
Archived author: Tea • Posted: 2024-05-20T12:32:21.753000+00:00
Original source

its pvpflags
rektbyfaith
05-20-2024, 12:32 PM #5

Archived author: Tea • Posted: 2024-05-20T12:32:21.753000+00:00
Original source

its pvpflags

rektbyfaith
Administrator
0
05-20-2024, 12:32 PM
#6
Archived author: Krutok • Posted: 2024-05-20T12:32:51.351000+00:00
Original source

NPC have no pvp flag
rektbyfaith
05-20-2024, 12:32 PM #6

Archived author: Krutok • Posted: 2024-05-20T12:32:51.351000+00:00
Original source

NPC have no pvp flag

rektbyfaith
Administrator
0
05-20-2024, 12:35 PM
#7
Archived author: Krutok • Posted: 2024-05-20T12:35:05.506000+00:00
Original source

or does the npc have to have a special faction?
rektbyfaith
05-20-2024, 12:35 PM #7

Archived author: Krutok • Posted: 2024-05-20T12:35:05.506000+00:00
Original source

or does the npc have to have a special faction?

rektbyfaith
Administrator
0
05-20-2024, 12:38 PM
#8
Archived author: Tea • Posted: 2024-05-20T12:38:28.708000+00:00
Original source

instead of straight up rejecting what im trying to say thinking that it cant be pvpflags because the npc isnt for pvp, just follow the logic from WorldObject::IsValidAssistTarget (no, editing this function on server will not do anything - client has the same code that prevents targeting BEFORE it sends a cast spell packet)
rektbyfaith
05-20-2024, 12:38 PM #8

Archived author: Tea • Posted: 2024-05-20T12:38:28.708000+00:00
Original source

instead of straight up rejecting what im trying to say thinking that it cant be pvpflags because the npc isnt for pvp, just follow the logic from WorldObject::IsValidAssistTarget (no, editing this function on server will not do anything - client has the same code that prevents targeting BEFORE it sends a cast spell packet)

rektbyfaith
Administrator
0
05-20-2024, 12:39 PM
#9
Archived author: Tea • Posted: 2024-05-20T12:39:21.733000+00:00
Original source

this is the same code in client that blocks the cast
rektbyfaith
05-20-2024, 12:39 PM #9

Archived author: Tea • Posted: 2024-05-20T12:39:21.733000+00:00
Original source

this is the same code in client that blocks the cast

rektbyfaith
Administrator
0
05-20-2024, 12:39 PM
#10
Archived author: Tea • Posted: 2024-05-20T12:39:22.990000+00:00
Original source

https://github.com/TrinityCore/TrinityCo...3073-L3076
rektbyfaith
05-20-2024, 12:39 PM #10

Archived author: Tea • Posted: 2024-05-20T12:39:22.990000+00:00
Original source

https://github.com/TrinityCore/TrinityCo...3073-L3076

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