Scripts/Misc: Fix issues reported by static analysis
This commit is contained in:
1 parent
d9fdbb06e4
commit
5af2be7468
3 files changed
+3
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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));
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user