-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(DB/Creature): Remove extra Shaffar adds #22255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@heyitsbench The adds being spawns from script or from db is sniffable, right? |
You mean whether they're spawned on the fly or permanently placed? Should be easy to tell with the CreateObject value. |
Yes |
I misunderstood the question. I figured at a glance these adds were spawning during the fight, as in a spell cast by Shaffar or similar. CreateObject values distinguish between whether the creature was made visible to the client either because it was created while the client was able to see it spawn or the creature was made visible because the client walked into visibility distance of it or it was made visible from removing invisibility (or invisibility detection). Given that we do scripting differently from Blizz to begin with, I don't think there's a way to see if these adds are being created via an explicit script or DB, since I'm sure on Blizz's end, the two are treated synonymously by the time it gets to a player viewpoint. I can confirm that the Beacon creatures do not have a summoner set in a 3.4.2 50664 nor a 2.5.4 43861 sniff. |
Are the positions in the script correct then? |
Here's what I've got at a glance: # Nexus-Prince Shaffar (18344)
X: -184.36566 Y: 9.333467 Z: 16.817427 O: 2.94960641860961914
# Ethereal Beacon (18341-1)
X: -188.19312 Y: 12.068183 Z: 16.739649 O: 4.493926048278808593
# Ethereal Beacon (18341-2)
X: -187.24693 Y: 3.9933996 Z: 16.756235 O: 5.954146385192871093
# Ethereal Beacon (18341-3)
X: -179.479 Y: 9.55053 Z: 16.709505 O: 3.073013544082641601 Might have discrepancy due to possible movement from the Beacons. |
Looks about right then |
Nexus-Prince Shaffar in Mana Tombs spawns his three Ethereal Beacons via a script. Together with the pre-spawned ones, the fight incorrectly starts with six Beacons instead. Remove the pre-spawned ones to fix this. TrinityCore fixed this issue a while ago: TrinityCore/TrinityCore#24325 Relates to AzerothCore issue azerothcore#18895, but doesn't fix it completely.
6620a8d
to
c5d2180
Compare
Got the spawn points from a 11.1.5 61122 sniff for the Ethereal Beacons. Given that Shaffar is not destroyed for his reset, I included both his spawn point as well as the last listed waypoint in his reset pathing packet. IMO the DB spawn seems more correct, given that Shaffar does not cast a spell to create these particular Beacons as well as them not having any summoner or owner set in their object update. |
Want me to do a fix in core rather than DB, then? |
I feel the summons should be removed from script and the DB spawns need to be respawned when Shaffar resets. |
Is it possible to do the respawning part with a DB entry? The As a newcomer to the project, having the summons in the script rather than the DB feels pretty clean to me, considering Shaffar spawns additional adds throughout the fight anyway. Still, if you prefer the DB spawns, I'll try to amend the PR accordingly. |
Nexus-Prince Shaffar in Mana Tombs spawns his three Ethereal Beacons via a script. Together with the pre-spawned ones, the fight incorrectly starts with six Beacons instead.
Remove the pre-spawned ones to fix this.
TrinityCore fixed this issue a while ago:
TrinityCore/TrinityCore#24325
Relates to AzerothCore issue #18895, but doesn't fix it completely (the damage numbers still seem way off).
Changes Proposed:
This PR proposes changes to:
Issues Addressed:
SOURCE:
The changes have been validated through:
Tests Performed:
This PR has been:
How to Test the Changes:
How to Test AzerothCore PRs
When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].
You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:
http://www.azerothcore.org/wiki/How-to-test-a-PR
REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).
For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.