fix(Scripts/EoE): Cross-faction Wyrmrest Skytalon support in Eye of Eternity (#25132)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e17b623cc8
commit
ebcaddb98d
2 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ enum NPCs
|
|||
NPC_SURGE_OF_POWER = 30334,
|
||||
NPC_STATIC_FIELD = 30592,
|
||||
NPC_ALEXSTRASZA = 32295,
|
||||
NPC_WYRMREST_SKYTALON = 30161,
|
||||
};
|
||||
|
||||
enum Data
|
||||
|
|
|
|||
|
|
@ -56,6 +56,10 @@ struct instance_eye_of_eternity : public InstanceScript
|
|||
|
||||
if (creature->GetEntry() == NPC_VORTEX)
|
||||
_vortexTriggers.push_back(creature->GetGUID());
|
||||
|
||||
if (sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP))
|
||||
if (creature->GetEntry() == NPC_WYRMREST_SKYTALON)
|
||||
creature->SetFaction(FACTION_FRIENDLY);
|
||||
}
|
||||
|
||||
ObjectGuid GetGuidData(uint32 data) const override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue