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

Fixed issue with Bypass NPCs in Assassin's Roost Quests #1699

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DELETE FROM `weenie` WHERE `class_Id` = 81084;

INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (81084, 'ace81084-ardenson', 10, '2024-05-26 19:09:10') /* Creature */;
VALUES (81084, 'ace81084-ardenson', 10, '2024-07-26 10:35:58') /* Creature */;

INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (81084, 1, 16) /* ItemType - Creature */
Expand Down Expand Up @@ -101,7 +101,7 @@ SET @parent_id = LAST_INSERT_ID();

INSERT INTO `weenie_properties_emote_action` (`emote_Id`, `order`, `type`, `delay`, `extent`, `motion`, `message`, `test_String`, `min`, `max`, `min_64`, `max_64`, `min_Dbl`, `max_Dbl`, `stat`, `display`, `amount`, `amount_64`, `hero_X_P_64`, `percent`, `spell_Id`, `wealth_Rating`, `treasure_Class`, `treasure_Type`, `p_Script`, `sound`, `destination_Type`, `weenie_Class_Id`, `stack_Size`, `palette`, `shade`, `try_To_Bond`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`)
VALUES (@parent_id, 0, 12 /* TurnToTarget */, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
, (@parent_id, 1, 30 /* InqQuestSolves */, 0, 1, NULL, 'RoostRatKillCount@KillTaskInProgress', NULL, 1, 49, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
, (@parent_id, 1, 30 /* InqQuestSolves */, 0, 1, NULL, 'RoostRatKillCount@KillTaskInProgress', NULL, 1, 50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO `weenie_properties_emote` (`object_Id`, `category`, `probability`, `weenie_Class_Id`, `style`, `substyle`, `quest`, `vendor_Type`, `min_Health`, `max_Health`)
VALUES (81084, 12 /* QuestSuccess */, 1, NULL, NULL, NULL, 'RoostRatKillCount@KillTaskInProgress', NULL, NULL, NULL);
Expand Down
4 changes: 3 additions & 1 deletion Database/Patches/9 WeenieDefaults/Creature/Human/81084.es
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Use:
- TurnToTarget
- InqQuestSolves: RoostRatKillCount@KillTaskInProgress, 1 - 49
- InqQuestSolves: RoostRatKillCount@KillTaskInProgress, 1 - 50
QuestSuccess:
- InqQuest: RoostRatKillCount@KillTaskCompleted
QuestSuccess:
Expand All @@ -13,3 +13,5 @@ Use:
QuestFailure:
- Tell: Generally people only come down here as a last resort or if they're too much of a brute to handle the task ahead of them. If you can prove your endurance by killing 50 of these rats I'll portal you directly to the next portion of the trials but I will think less of you.
- SetQuestCompletions: RoostRatKillCount, 0


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DELETE FROM `weenie` WHERE `class_Id` = 81086;

INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (81086, 'ace81086-maximas', 10, '2024-05-26 19:09:10') /* Creature */;
VALUES (81086, 'ace81086-maximas', 10, '2024-07-26 10:39:01') /* Creature */;

INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (81086, 1, 16) /* ItemType - Creature */
Expand Down Expand Up @@ -101,7 +101,7 @@ SET @parent_id = LAST_INSERT_ID();

INSERT INTO `weenie_properties_emote_action` (`emote_Id`, `order`, `type`, `delay`, `extent`, `motion`, `message`, `test_String`, `min`, `max`, `min_64`, `max_64`, `min_Dbl`, `max_Dbl`, `stat`, `display`, `amount`, `amount_64`, `hero_X_P_64`, `percent`, `spell_Id`, `wealth_Rating`, `treasure_Class`, `treasure_Type`, `p_Script`, `sound`, `destination_Type`, `weenie_Class_Id`, `stack_Size`, `palette`, `shade`, `try_To_Bond`, `obj_Cell_Id`, `origin_X`, `origin_Y`, `origin_Z`, `angles_W`, `angles_X`, `angles_Y`, `angles_Z`)
VALUES (@parent_id, 0, 12 /* TurnToTarget */, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
, (@parent_id, 1, 30 /* InqQuestSolves */, 0, 1, NULL, 'RoostCarenziKillCount@KillTaskInProgress', NULL, 1, 49, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
, (@parent_id, 1, 30 /* InqQuestSolves */, 0, 1, NULL, 'RoostCarenziKillCount@KillTaskInProgress', NULL, 1, 50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO `weenie_properties_emote` (`object_Id`, `category`, `probability`, `weenie_Class_Id`, `style`, `substyle`, `quest`, `vendor_Type`, `min_Health`, `max_Health`)
VALUES (81086, 12 /* QuestSuccess */, 1, NULL, NULL, NULL, 'RoostCarenziKillCount@KillTaskInProgress', NULL, NULL, NULL);
Expand Down
6 changes: 4 additions & 2 deletions Database/Patches/9 WeenieDefaults/Creature/Human/81086.es
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Use:
- TurnToTarget
- InqQuestSolves: RoostCarenziKillCount@KillTaskInProgress, 1 - 49
- InqQuestSolves: RoostCarenziKillCount@KillTaskInProgress, 1 - 50
QuestSuccess:
- InqQuest: RoostCarenziKillCount@KillTaskCompleted
QuestSuccess:
- Tell: Okay, you've killed all 50. Guess you can pass now. I really don't know why we let in people who can't defeat such simple challenges.
- Tell: Okay, you've killed all 50. Guess you can pass now. I really don't know why we let in people who can't defeat such a simple challenges.
- EraseQuest: RoostCarenziKillCount
- CastSpellInstant: 4991 - Jump Puzzle Bypass
QuestFailure:
Expand All @@ -13,3 +13,5 @@ Use:
QuestFailure:
- Tell: Not much of a jumper are you? When people come talk to me it means they've already tried and failed the task ahead. If you need to bypass that challenge due to a lack of skill you can simply kill 50 of these carenzi for me as a show of your endurance.
- SetQuestCompletions: RoostCarenziKillCount, 0