aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
authorLopin <davca.hr@seznam.cz>2011-08-24 15:57:14 +0200
committerLopin <davca.hr@seznam.cz>2011-08-24 15:57:14 +0200
commitededca331173474364069d705d5183c089953011 (patch)
treeaa92f073ade3e063a7b15becdbb607c2f5d9d9d5 /src/server/scripts/Outland/nagrand.cpp
parent0c410bda430b81e9348472194687878fc47ea394 (diff)
Core/Spells: Fixed quest Stopping the Spread
Diffstat (limited to 'src/server/scripts/Outland/nagrand.cpp')
-rw-r--r--src/server/scripts/Outland/nagrand.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index a18f16fbf2c..21265a1b7f2 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -26,7 +26,6 @@ EndScriptData */
/* ContentData
mob_shattered_rumbler
mob_lump
-mob_sunspring_villager
npc_altruis_the_sufferer
npc_greatmother_geyah
npc_lantresor_of_the_blade
@@ -243,44 +242,6 @@ public:
};
-/*####
-# mob_sunspring_villager - should be done with ACID
-####*/
-
-class mob_sunspring_villager : public CreatureScript
-{
-public:
- mob_sunspring_villager() : CreatureScript("mob_sunspring_villager") { }
-
- CreatureAI* GetAI(Creature* creature) const
- {
- return new mob_sunspring_villagerAI (creature);
- }
-
- struct mob_sunspring_villagerAI : public ScriptedAI
- {
- mob_sunspring_villagerAI(Creature* c) : ScriptedAI(c) {}
-
- void Reset()
- {
- me->SetUInt32Value(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_DEAD);
- me->SetStandState(UNIT_STAND_STATE_DEAD);
- }
-
- void EnterCombat(Unit* /*who*/) {}
-
- void SpellHit(Unit* /*caster*/, const SpellInfo *spell)
- {
- if (spell->Id == 32146)
- {
- me->DealDamage(me, me->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
- me->RemoveCorpse();
- }
- }
- };
-
-};
-
/*######
## npc_altruis_the_sufferer
######*/
@@ -1013,7 +974,6 @@ void AddSC_nagrand()
{
new mob_shattered_rumbler();
new mob_lump();
- new mob_sunspring_villager();
new npc_altruis_the_sufferer();
new npc_greatmother_geyah();
new npc_lantresor_of_the_blade();