Skip to content
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

Core/Scripts Yogg-Saron Portals #16708

Closed
wants to merge 1 commit into from
Closed

Conversation

sirikfoll
Copy link
Contributor

Changes proposed:

Target branch(es): 335/6x

Issues addressed: Fixes #16390

Tests performed: Built and tested

Known issues and TODO list: None

@joschiwald
Copy link
Contributor

can you confirm spellclick spell with sniffs?

@sirikfoll
Copy link
Contributor Author

Yes, [11] UNIT_FIELD_INTERACT_SPELLID: 51347/7.195247E-41
sniff available at https://community.trinitycore.org/topic/12401-ulduar-10-with-hard-modes/

@joschiwald
Copy link
Contributor

ok, then you can remove the comment after DATA_ILLUSION in ulduar.h and the static_assert in instance_ulduar.cpp

can you post the packet when 51347 is cast?

@sirikfoll
Copy link
Contributor Author

"comment after DATA_ILLUSION in ulduar.h and the static_assert in instance_ulduar.cpp" were already removed somewhere.

Changed cast_flags to 3

ServerToClient: SMSG_SPELL_GO (0x046E) Length: 103 ConnIdx: 1 Time: 07/21/2015 02:40:08.703 Number: 238496
(Cast) CasterGUID: Full: 0x08322000000000000000000006C2DA00 Player/0 R3208/S0 Map: 0 (Eastern Kingdoms) Low: 113433088
(Cast) CasterUnit: Full: 0x08322000000000000000000006C2DA00 Player/0 R3208/S0 Map: 0 (Eastern Kingdoms) Low: 113433088
(Cast) CastID: 0
(Cast) SpellID: Teleport Visual Only (51347)
(Cast) SpellXSpellVisualID: 19714
(Cast) CastFlags: 17040128
(Cast) CastTime: 2927324536
(Cast) HitTargetsCount: 1
(Cast) MissTargetsCount: 0
(Cast) MissStatusCount: 0
(Cast) (Target) Flags: Unit (2)
(Cast) (Target) HasSrcLocation: False
(Cast) (Target) HasDstLocation: False
(Cast) (Target) HasOrientation: False
(Cast) (Target) Unit: Full: 0x0
(Cast) (Target) Item: Full: 0x0
(Cast) (Target) Name: 
(Cast) RemainingPowerCount: 0
(Cast) (MissileTrajectory) TravelTime: 0
(Cast) (MissileTrajectory) Pitch: 0
(Cast) (Ammo) DisplayID: 0
(Cast) (Ammo) InventoryType: NonEquip (0)
(Cast) DestLocSpellCastIndex: 0
(Cast) TargetPointsCount: 0
(Cast) (Immunities) School: 0
(Cast) (Immunities) Value: 0
(Cast) (Predict) Points: 0
(Cast) (Predict) Type: 0
(Cast) (Predict) BeaconGUID: Full: 0x0
(Cast) [0] HitTarget: Full: 0x08322000000000000000000006C2DA00 Player/0 R3208/S0 Map: 0 (Eastern Kingdoms) Low: 113433088
(Cast) CastFlagsEx: 16
(Cast) HasRuneData: False

@joschiwald
Copy link
Contributor

looks valid

clicker->RemoveAurasDueToSpell(SPELL_BRAIN_LINK);
DoCast(clicker, IllusionSpells[_instance->GetData(DATA_ILLUSION)], true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible that GetData(DATA_ILLUSION) returns a value not 0..2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaik only if you use SetData do change it, other places where this GetData is used does not perform any check too, and even if return a weird value(which should not happen), DoCast already checks if the spell passed is valid.

@L30m4nc3r
Copy link

@sirikfoll thanks! Work Perfect!
But have 1 problem. After raid wipe event not reseted.

@Rushor
Copy link
Contributor

Rushor commented Mar 4, 2016

this issue has nothing to do with encounterreset

@sirikfoll
Copy link
Contributor Author

yeah, i saw that, but happens without this PR too, the trigger(Voice of Yogg-Saron) never evades

@L30m4nc3r
Copy link

@Rushor okay thanks. #16723

joschiwald pushed a commit that referenced this pull request Mar 4, 2016
P-Kito pushed a commit to P-Kito/TrinityCore that referenced this pull request Mar 27, 2016
Shauren pushed a commit that referenced this pull request Apr 8, 2016
Closes #16390
Closes #16708

(cherry picked from commit c4e4ee3)
@sirikfoll sirikfoll deleted the yogg branch August 21, 2016 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants