Closed thrd92 closed 7 years ago
I have a fix for this, but its a core issue. Hold on.
GossipSelect_npc_disciple_of_naralex function Remove pCreature->SetFactionTemporary(FACTION_ESCORT_N_ACTIVE, TEMPFACTION_RESTORE_RESPAWN);
After that it works as intended afaik. @cyberium in case you would want to close this issue :)
What faction does he have in that screenshot?
Who knows, I just know when I made that change that he should be friendly to players.
Well, FACTION_ESCORT_N_ACTIVE = 250 is also super friendly (and appropriate) ... I just did the event with no issues at all (in vanilla though).
That does not really help.
FACTION_ESCORT_N_ACTIVE = 250 is used very often in serveral escortquests (horde and alliance will be friendly but monsters will be hostile towards the escortnpc)
The reason to request more info. This does not look like faction 35 or 250 and nothing else should be used.
I suggest you log on to TBC and look for yourself.
Or I just wait for thrd92 to answer my initial question ... if he can find it now.
@Tobschinski Looks like the NPC is neutral (yellow unit frame) during the event, before the event NPC has green unit frame, so he's friendly at least. Gonna check .npc info output, brb.
So, before event faction is 35, during the event faction is 1986.
Makes sense because of this, thank you!
I'd suggest to use FACTION_ESCORT_N_NEUTRAL_ACTIVE = 250 then.
Do we need to change faction? I mean this is sniff territory.
I can only offer you one from MOP.
[0] UpdateType: Values
[0] Object Guid: Full: - Creature/0 -/- Map: - Entry: 3678 Low: -
[0] UNIT_FIELD_FACTIONTEMPLATE: 250/3.503246E-43
[0] UNIT_NPC_FLAGS: 0/0
Yes but before that the whole event was changed. So it isnt reliable imo.
i will search for an older sniff - bump me in this issue after 10 days if i forgot it
Bump @Rushor
Current behavior: Disciple of Naralex becomes neutral to players during the event (no more friendly), and he becomes attackable when he's entering combat, also he's ignoring the mobs (uncleared trash) on his way (no aggro).
Expected behavior: Disciple of Naralex should be friendly https://youtu.be/dVdUzMpLvoM?t=1182
Steps to reproduce:
Client version: 2.4.3
Commit hash: https://github.com/cmangos/mangos-tbc/commit/190221606936b044e32ebd737ff5c01cd7049983
Database version: Latest TBC-DB
Operating system: Debian 8.6 amd64