DB/NPCs: Remove save to instance flag from Hellfire Channeler;

SQL: Fix naming and style in previous sql;
Scripts/Naxx: Fix a logic fail in KT adds summon;
DB/Spells: Add a few missing spells to spell_dbc table
This commit is contained in:
Nay
2011-11-07 16:47:03 +00:00
parent c51f6e7fa0
commit 0436a8b532
5 changed files with 16 additions and 6 deletions
@@ -1,3 +0,0 @@
-- Correct AQ40's areatrigger_teleport orientation
UPDATE `areatrigger_teleport` SET `target_position_z`='129.330612', `target_orientation`='0.929912' WHERE `id`=4010;
UPDATE `areatrigger_teleport` SET `target_orientation`='4.030663' WHERE `id`=4012;
@@ -0,0 +1,3 @@
-- Correct AQ40's areatrigger_teleport orientation
UPDATE `areatrigger_teleport` SET `target_position_z`=129.330612, `target_orientation`=0.929912 WHERE `id`=4010;
UPDATE `areatrigger_teleport` SET `target_orientation`=4.030663 WHERE `id`=4012;
@@ -0,0 +1,10 @@
-- by Aok
-- Removes save to instance flag from Hellfire Channeler
UPDATE `creature_template` SET `flags_extra`=`flags_extra` &~ 0 WHERE `entry`=17256;
-- by Nay
DELETE FROM `spell_dbc` WHERE `Id` IN (12507,31982,33134);
INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `Stances`, `StancesNot`, `Targets`, `CastingTimeIndex`, `AuraInterruptFlags`, `ProcFlags`, `ProcChance`, `ProcCharges`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `Effect1`, `Effect2`, `Effect3`, `EffectDieSides1`, `EffectDieSides2`, `EffectDieSides3`, `EffectRealPointsPerLevel1`, `EffectRealPointsPerLevel2`, `EffectRealPointsPerLevel3`, `EffectBasePoints1`, `EffectBasePoints2`, `EffectBasePoints3`, `EffectMechanic1`, `EffectMechanic2`, `EffectMechanic3`, `EffectImplicitTargetA1`, `EffectImplicitTargetA2`, `EffectImplicitTargetA3`, `EffectImplicitTargetB1`, `EffectImplicitTargetB2`, `EffectImplicitTargetB3`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectRadiusIndex3`, `EffectApplyAuraName1`, `EffectApplyAuraName2`, `EffectApplyAuraName3`, `EffectAmplitude1`, `EffectAmplitude2`, `EffectAmplitude3`, `EffectMultipleValue1`, `EffectMultipleValue2`, `EffectMultipleValue3`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectMiscValue3`, `EffectMiscValueB1`, `EffectMiscValueB2`, `EffectMiscValueB3`, `EffectTriggerSpell1`, `EffectTriggerSpell2`, `EffectTriggerSpell3`, `EffectSpellClassMaskA1`, `EffectSpellClassMaskA2`, `EffectSpellClassMaskA3`, `EffectSpellClassMaskB1`, `EffectSpellClassMaskB2`, `EffectSpellClassMaskB3`, `EffectSpellClassMaskC1`, `EffectSpellClassMaskC2`, `EffectSpellClassMaskC3`, `MaxTargetLevel`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `MaxAffectedTargets`, `DmgClass`, `PreventionType`, `DmgMultiplier1`, `DmgMultiplier2`, `DmgMultiplier3`, `AreaGroupId`, `SchoolMask`, `Comment`) VALUES
(12507, 0, 0, 464, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 21, 1, 0, -1, 0, 0, 6, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12504, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 'Atal''ai Skeleton Totem'),
(31982, 0, 0, 464, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 29, 29, 21, 1, 0, -1, -1, 0, 6, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31983, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 'Tainted Earthgrab Totem'),
(33134, 0, 0, 65920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 20, 20, 85, 1, 0, -1, -1, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 18000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29878, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 2, 'Tainted Nova Totem');
@@ -683,7 +683,7 @@ public:
// Note: summon must be done by trigger and not by KT. // Note: summon must be done by trigger and not by KT.
// Otherwise, they attack immediately as KT is in combat. // Otherwise, they attack immediately as KT is in combat.
for (uint8 i = 0; i <= MAX_ABOMINATIONS; ++i) for (uint8 i = 0; i < MAX_ABOMINATIONS; ++i)
{ {
if (Creature* sum = trigger->SummonCreature(NPC_ABOMINATION, PosAbominations[i])) if (Creature* sum = trigger->SummonCreature(NPC_ABOMINATION, PosAbominations[i]))
{ {
@@ -692,7 +692,7 @@ public:
sum->SetReactState(REACT_DEFENSIVE); sum->SetReactState(REACT_DEFENSIVE);
} }
} }
for (uint8 i = 0; i <= MAX_WASTES; ++i) for (uint8 i = 0; i < MAX_WASTES; ++i)
{ {
if (Creature* sum = trigger->SummonCreature(NPC_WASTE, PosWastes[i])) if (Creature* sum = trigger->SummonCreature(NPC_WASTE, PosWastes[i]))
{ {
@@ -701,7 +701,7 @@ public:
sum->SetReactState(REACT_DEFENSIVE); sum->SetReactState(REACT_DEFENSIVE);
} }
} }
for (uint8 i = 0; i <= MAX_WEAVERS; ++i) for (uint8 i = 0; i < MAX_WEAVERS; ++i)
{ {
if (Creature* sum = trigger->SummonCreature(NPC_WEAVER, PosWeavers[i])) if (Creature* sum = trigger->SummonCreature(NPC_WEAVER, PosWeavers[i]))
{ {