Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(Scripts/TheEye): make Shock Barrier absorb 200k damage to be more in line with player strength #390

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 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
Loading