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
DB/Quest: The Missing Diplomat (Part 16) #22261
Comments
TrinityCore rev. 41982aa 2018-08-12 14:17:26 +0200 (3.3.5 branch) (Win64, RelWithDebInfo, Static) diff --git a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
index 78fe8fad55..a546112130 100644
--- a/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
+++ b/src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
@@ -23,11 +23,10 @@ SDComment: Quest support: 558, 11126, 11142, 11174, Vendor Nat Pagle
SDCategory: Dustwallow Marsh
EndScriptData */
/* ContentData
npc_nat_pagle
-npc_private_hendel
npc_cassa_crimsonwing - handled by npc_taxi
EndContentData */
#include "ScriptMgr.h"
#include "MotionMaster.h"
@@ -87,72 +86,10 @@ public:
{
return new npc_nat_pagleAI(creature);
}
};
-/*######
-## npc_private_hendel
-######*/
-
-enum Hendel
-{
- SAY_PROGRESS_1_TER = 0,
- SAY_PROGRESS_2_HEN = 1,
- SAY_PROGRESS_3_TER = 2,
- SAY_PROGRESS_4_TER = 3,
- EMOTE_SURRENDER = 4,
-
- QUEST_MISSING_DIPLO_PT16 = 1324,
-
- NPC_SENTRY = 5184, //helps hendel
- NPC_JAINA = 4968, //appears once hendel gives up
- NPC_TERVOSH = 4967
-};
-
-/// @todo develop this further, end event not created
-class npc_private_hendel : public CreatureScript
-{
-public:
- npc_private_hendel() : CreatureScript("npc_private_hendel") { }
-
- struct npc_private_hendelAI : public ScriptedAI
- {
- npc_private_hendelAI(Creature* creature) : ScriptedAI(creature) { }
-
- void Reset() override
- {
- me->RestoreFaction();
- }
-
- void DamageTaken(Unit* pDoneBy, uint32 &Damage) override
- {
- if (Damage > me->GetHealth() || me->HealthBelowPctDamaged(20, Damage))
- {
- Damage = 0;
-
- if (pDoneBy)
- if (Player* player = pDoneBy->GetCharmerOrOwnerPlayerOrPlayerItself())
- player->GroupEventHappens(QUEST_MISSING_DIPLO_PT16, me);
-
- Talk(EMOTE_SURRENDER);
- EnterEvadeMode();
- }
- }
-
- void QuestAccept(Player* /*player*/, Quest const* quest) override
- {
- if (quest->GetQuestId() == QUEST_MISSING_DIPLO_PT16)
- me->SetFaction(FACTION_ENEMY);
- }
- };
-
- CreatureAI* GetAI(Creature* creature) const override
- {
- return new npc_private_hendelAI(creature);
- }
-};
-
/*######
## npc_zelfrax
######*/
Position const MovePosition = {-2967.030f, -3872.1799f, 35.620f, 0.0f};
@@ -362,11 +299,10 @@ class spell_energize_aoe : public SpellScriptLoader
};
void AddSC_dustwallow_marsh()
{
new npc_nat_pagle();
- new npc_private_hendel();
new npc_zelfrax();
new spell_ooze_zap();
new spell_ooze_zap_channel_end();
new spell_energize_aoe();
} (will be interesting to see in which order #22261 and #22262 are handled) |
ghost
mentioned this issue
Aug 13, 2018
Killyana
pushed a commit
that referenced
this issue
Aug 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Quest "The Missing Diplomat (Part 16)" is partially scripted in core side. I will converted into SAI and finish the script.
Branch(es):
3.3.5
TC rev. hash/commit:
TrinityCore rev. 1cc3d33 2018-02-19 20:21:57 +0100 (3.3.5 branch) (Win64, RelWithDebInfo, Static)
TDB version: 335.64
Operating system: Windows 7
Suggested Fix:
The text was updated successfully, but these errors were encountered: