-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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(db/sai) Some contents of the restoration of creature (27210 and 27951) #18850
Conversation
When you're done writing the script, and you're not going to make any more changes, let me know, that I'm editing it to decrease the number of queries. But if I edit it now, and you haven't finished it yet, and you're used to working this way, you might find it hard to edit. Also, in the comments, they left you some text to add as well. I'm waiting for your message if you need help with this. @fangshun2004 |
We'd have to make a few small changes to the SQL. But I don't want to do it, until it's finished. So I asked the author if I'm done and I'm waiting for his answer. |
If you do this, you are running 9 queries on the database. DELETE FROM `creature_text_locale` WHERE `CreatureID`=27210 AND `GroupID` IN (0, 1) AND `Locale`='zhCN';
DELETE FROM `creature_text_locale` WHERE `CreatureID`=27211 AND `GroupID` IN (0, 1, 2, 3) AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(27210, 0, 0, 'zhCN', '我会让你们见识见识先锋军的真正实力!'),
(27210, 1, 0, 'zhCN', '想见识见识先锋军的实力吗?'),
(27210, 1, 1, 'zhCN', '快点干掉闯入者!我可没时间亲自动手。'),
(27210, 1, 2, 'zhCN', '你们应该在动手之前就考虑到后果,蠢货。'),
(27210, 1, 3, 'zhCN', '难道要我亲自解决这些入侵者?'),
(27211, 0, 0, 'zhCN', '是时候了!'),
(27211, 1, 0, 'zhCN', '你这肮脏的杂种,还有什么遗言吗?'),
(27211, 2, 0, 'zhCN', '呸,我才不在乎你有没有遗言。下地狱去吧,可怜虫!'),
(27211, 3, 0, 'zhCN', '哈!这种消遣真是永不过时。'); Also, don't forget, that every time you do an |
However, the NPCs you are mentioning don't have as many texts. |
No problem. |
broadcast_text_locale you don't need to add content, the text in the broadcast_text is already using the BroadcastTextId broadcast_text_locale broadcast_text |
This executioner NPC will periodically trigger the "Forsaken" event that kills the gallows, which I am working on, but it is not perfect for two NPCs, and the NPC follow system is not very well handled |
Do I need to add the corresponding text to the creature_text_locale? |
…7951) (azerothcore#18850) * Fix some problems * Change the name of the spell
…7951) (azerothcore#18850) * Fix some problems * Change the name of the spell
…7951) (azerothcore#18850) * Fix some problems * Change the name of the spell
When fighting Miscellaneous Creeps in front of the Cathedral, Creature 27210 will shout randomly (currently 2 Miscellaneous Soldiers are missing on the left and right sides of the platform), and when fighting Mob 27210, she should not speak immediately, but instead speak when her health is below 20% and use the Berserk skill. When the battle is triggered, 27951 will trigger the spell and make it impossible for the player to attack it (the player should exit the combat state after killing 27210) 27951 should walk up to the corpse of the 27210 mob and trigger the event, instead of standing still and moving along a fixed path
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:
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.