Scripts/Misc: Fix issues reported by static analysis

This commit is contained in:
Vincent-Michael
2014-09-13 23:14:37 +02:00
parent d9fdbb06e4
commit 5af2be7468
3 changed files with 3 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ public:
case EVENT_BLAST_WAVE:
DoCast(me, SPELL_BLAST_WAVE);
events.ScheduleEvent(EVENT_BLAST_WAVE, 12000);
break;
case EVENT_FRENZY:
DoCast(me, SPELL_FRENZY);
Talk(EMOTE_FRENZY);

View File

@@ -70,6 +70,7 @@ class boss_meathook : public CreatureScript
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
DoCast(target, SPELL_CONSTRICTING_CHAINS);
events.ScheduleEvent(EVENT_CHAIN, urand(2000, 4000));
break;
case EVENT_DISEASE:
DoCastAOE(SPELL_DISEASE_EXPULSION);
events.ScheduleEvent(EVENT_DISEASE, urand(1500, 4000));

View File

@@ -76,6 +76,7 @@ class instance_culling_of_stratholme : public InstanceMapScript
_genericBunnyGUID = 0;
_crateCount = 0;
_eventTimer = 0;
_infiniteCouterState = NOT_STARTED;
}
void FillInitialWorldStates(WorldPacket& data) override