-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(Scripts/Naxxramas): Razuvious' Death Knight Understudy RP #19183
fix(Scripts/Naxxramas): Razuvious' Death Knight Understudy RP #19183
Conversation
This reverts commit e6ec529.
remove the waypoint stuff per 40b6366 |
4303082
to
f725f1d
Compare
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_NONE); | ||
if (InstanceScript* instance = me->GetInstanceScript()) | ||
{ | ||
if (Creature* creature = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_RAZUVIOUS_BOSS))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, we could use instance->GetCreature()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, here the storage can be used since there is only one razzuvious spawned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tried in d3bf91c, failed to get Razuvious this way. The instancescript needs a refactor
Hey Sogla! Please update as per review :) |
This reverts commit d3bf91c.
Add InstanceScript::OnCreatureCreate(creature); To the OnCreatureCreate(Creature* creature) hook in the instance script and the storage will work, this is what you missed and why you couldn't get him to work |
works now, thanks! |
Changes Proposed:
This PR proposes changes to:
a. Pause() and Resume()
changes from below are included
but did PR separately
a. Add creature texts to Razuvious and Understudies. broadcast_ids are present in DB. Razuvious' "Pathetic...", picked Broadcast_ID "27865" as there are 3 exactly the same in the DB
b. Razuvious sometimes he doesn't speak, but emotes
c. Razuvious should emote "Exclamation" to all adds. Each add responds with a "Talk" and "Salute". Bottom left always speaks with 1 of 3 texts if spoken to
d. Event repeats every 60-80s.
e. Razuvious walks closely to the add and then emotes or speaks.
f. Order of adds is uncertain. Random was easiest to implement
old PR
Issues Addressed:
SOURCE:
The changes have been validated through:
razu_rp.mp4
retail VOD: full 18 min recording https://www.youtube.com/watch?v=O7NDubkjbWg
Tests Performed:
This PR has been:
razuvious_understudy_rp.mp4
How to Test the Changes:
.go c 128312
Known Issues and TODO List:
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.