Core/Spells: Fixed quest Stopping the Spread
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user