Skip to content

Commit

Permalink
Merge pull request #14002 from Rushor/Webbs
Browse files Browse the repository at this point in the history
Scripts/Bloodmyst Isle: Disable CreatureAttack for NPC: Webbed Creature
  • Loading branch information
DDuarte committed Feb 1, 2015
2 parents 4c0476b + 644de87 commit e9eba6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
Expand Up @@ -48,14 +48,18 @@ class npc_webbed_creature : public CreatureScript
public:
npc_webbed_creature() : CreatureScript("npc_webbed_creature") { }

struct npc_webbed_creatureAI : public ScriptedAI
struct npc_webbed_creatureAI : public NullCreatureAI
{
npc_webbed_creatureAI(Creature* creature) : ScriptedAI(creature) { }
npc_webbed_creatureAI(Creature* creature) : NullCreatureAI(creature) { }

void Reset() override { }

void EnterCombat(Unit* /*who*/) override { }

void AttackStart(Unit* /*who*/) override { }

void MoveInLineOfSight(Unit* /*who*/) override { }

void JustDied(Unit* killer) override
{
uint32 spawnCreatureID = 0;
Expand Down

0 comments on commit e9eba6e

Please sign in to comment.