Skip to content

Commit

Permalink
F
Browse files Browse the repository at this point in the history
  • Loading branch information
elthehablo authored Mar 20, 2024
1 parent f4e9241 commit 28dc3d5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Bracket_70_3_2/scripts/the_eye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ class GlobalTheEyeScript : public GlobalScript
public:
GlobalTheEyeScript() : GlobalScript("GlobalTheEyeScript") { }

void OnLoadSpellCustomAttr(SpellInfo* spellInfo) override
{
switch (spellInfo->Id)
{
case 36815: // Kael - Shock Barrier (is 80k by default, too low for wotlk geared player)
spellInfo->Effects[EFFECT_0].BasePoints = 200000;
break;
}
}

bool IsAnyBossAlive(Map* map, uint32 bossId = 0, uint32 newState = 0)
{
if (InstanceMap* instanceMap = map->ToInstanceMap())
Expand Down Expand Up @@ -90,16 +100,6 @@ class GlobalTheEyeScript : public GlobalScript
}
};

void OnLoadSpellCustomAttr(SpellInfo* spellInfo) override
{
switch (spellInfo->Id)
{
case 36815: // Kael - Shock Barrier (is 80k by default, too low for wotlk geared player)
spellInfo->Effects[EFFECT_0].BasePoints = 200000;
break;
}
}

void AddSC_the_eye_70()
{
new GlobalTheEyeScript();
Expand Down

0 comments on commit 28dc3d5

Please sign in to comment.