aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp
index dca25b593ae..29ec0598bdd 100644
--- a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp
+++ b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp
@@ -215,10 +215,12 @@ class spell_ioc_launch : public SpellScript
enum SeaforiumBombSpells
{
- SPELL_SEAFORIUM_BLAST = 66676,
- SPELL_HUGE_SEAFORIUM_BLAST = 66672,
- SPELL_A_BOMB_INABLE_CREDIT = 68366,
- SPELL_A_BOMB_INATION_CREDIT = 68367
+ SPELL_SEAFORIUM_BLAST = 66676,
+ SPELL_SEAFORIUM_BLAST_H = 67814,
+ SPELL_HUGE_SEAFORIUM_BLAST = 66672,
+ SPELL_HUGE_SEAFORIUM_BLAST_H = 67813,
+ SPELL_A_BOMB_INABLE_CREDIT = 68366,
+ SPELL_A_BOMB_INATION_CREDIT = 68367
};
// 66672 - Huge Seaforium Blast
@@ -239,9 +241,10 @@ class spell_ioc_seaforium_blast_credit : public SpellScript
if (!caster)
return;
- if (GetSpellInfo()->Id == SPELL_SEAFORIUM_BLAST)
+ uint32 spellId = GetSpellInfo()->Id;
+ if (spellId == SPELL_SEAFORIUM_BLAST || spellId == SPELL_SEAFORIUM_BLAST_H)
_creditSpell = SPELL_A_BOMB_INABLE_CREDIT;
- else if (GetSpellInfo()->Id == SPELL_HUGE_SEAFORIUM_BLAST)
+ else if (spellId == SPELL_HUGE_SEAFORIUM_BLAST || spellId == SPELL_HUGE_SEAFORIUM_BLAST_H)
_creditSpell = SPELL_A_BOMB_INATION_CREDIT;
if (GetHitGObj() && GetHitGObj()->IsDestructibleBuilding())