Skip to content

Commit

Permalink
feature(Tuning/SSC): change spawn health of Spitfire totem to 70k (#369)
Browse files Browse the repository at this point in the history
* change spawn health of Spitfire Totem

* Update serpentshrine_cavern.cpp

* Update serpentshrine_cavern.cpp

* Update serpentshrine_cavern.cpp
  • Loading branch information
elthehablo committed Dec 12, 2023
1 parent fc2ef97 commit f6f686c
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "Config.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"

enum SSCMisc
{
Expand All @@ -29,6 +30,16 @@ class GlobalSerpentshrineScript : public GlobalScript
}
}

void OnLoadSpellCustomAttr(SpellInfo* spellInfo) override
{
switch (spellInfo->Id)
{
case 38236: // Caribdis - Spawn Spitfire Totem
spellInfo->Effects[EFFECT_0].BasePoints = 70000;
break;
}
}

void OnBeforeSetBossState(uint32 bossId, EncounterState newState, EncounterState /*oldState*/, Map* map) override
{
if (sConfigMgr->GetOption<int>("ProgressionSystem.70.SerpentshrineCavern.RequireAllBosses", 1))
Expand Down

0 comments on commit f6f686c

Please sign in to comment.