Scripts/Icecrown Citadel: Added script for Blood Queen Lana'Thel

Scripts/Icecrown Citadel: Fixed Invocation of Blood announcement emote for Blood Prince Council
Scripts/Icecrown Citadel: Fixed intro for Lady Deathwhisper
Scripts/Icecrown Citadel: Fixed Bone Spike for Lord Marrowgar

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-03 17:47:33 +01:00
parent 892f56c37d
commit e0c992a8ba
17 changed files with 782 additions and 42 deletions
+7
View File
@@ -5758,6 +5758,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 70701;
break;
}
case 70871:
{
target = this;
triggered_spell_id = 70872;
basepoints0 = int32(damage) * triggerAmount / 100;
break;
}
}
break;
}
@@ -470,6 +470,7 @@ void AddSC_boss_festergut();
void AddSC_boss_rotface();
void AddSC_boss_professor_putricide();
void AddSC_boss_blood_prince_council();
void AddSC_boss_blood_queen_lana_thel();
void AddSC_icecrown_citadel_teleport();
void AddSC_instance_icecrown_citadel();
@@ -1155,6 +1156,7 @@ void AddNorthrendScripts()
AddSC_boss_rotface();
AddSC_boss_professor_putricide();
AddSC_boss_blood_prince_council();
AddSC_boss_blood_queen_lana_thel();
AddSC_icecrown_citadel_teleport();
AddSC_instance_icecrown_citadel();
+26
View File
@@ -2800,6 +2800,32 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
++itr;
}
break;
case 71390: // Pact of the Darkfallen
{
for (std::list<Unit*>::iterator itr = unitList.begin(); itr != unitList.end();)
{
if (!(*itr)->HasAura(71340))
itr = unitList.erase(itr);
else
++itr;
}
bool remove = true;
// we can do this, unitList is MAX 4 in size
for (std::list<Unit*>::const_iterator itr = unitList.begin(); itr != unitList.end() && remove; ++itr)
{
if (!m_caster->IsWithinDist(*itr, 5.0f, false))
remove = false;
for (std::list<Unit*>::const_iterator itr2 = unitList.begin(); itr2 != unitList.end() && remove; ++itr2)
if (itr != itr2 && !(*itr2)->IsWithinDist(*itr, 5.0f, false))
remove = false;
}
if (remove)
for (std::list<Unit*>::iterator itr = unitList.begin(); itr != unitList.end(); ++itr)
(*itr)->RemoveAura(71340);
break;
}
}
// Death Pact
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && m_spellInfo->SpellFamilyFlags[0] & 0x00080000)
+6
View File
@@ -3624,6 +3624,8 @@ void SpellMgr::LoadSpellCustomAttr()
case 69782: case 69796: // Ooze Flood
case 69798: case 69801: // Ooze Flood
case 69538: case 69553: case 69610: // Ooze Combine
case 71447: case 71481: // Bloodbolt Splash
case 71482: case 71483: // Bloodbolt Splash
mSpellCustomAttr[i] |= SPELL_ATTR_CU_EXCLUDE_SELF;
count++;
break;
@@ -3951,6 +3953,10 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_NO_DONE_BONUS;
count++;
break;
case 71340: // Pact of the Darkfallen
spellInfo->DurationIndex = 21;
count++;
break;
default:
break;
}