-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'rank' is now a keyword. close cmangos/issues#1719 close cmangos/mangos-tbc#250 Than @Pooch11 and @dsx75
- Loading branch information
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
|
||
-- Spell 24148 should have passive attribute. Without it, items with that spell enchant are declared as invalid when logging in a dead player | ||
-- Confirmed on later version of the spell | ||
UPDATE spell_template SET Attributes = Attributes | 0x040 WHERE Id = 24148; | ||
UPDATE `spell_template` SET `Attributes`=Attributes|0x040 WHERE `Id`=24148; | ||
|
||
ALTER TABLE spell_template ADD COLUMN `AttributesServerside` int(11) unsigned NOT NULL DEFAULT '0'; | ||
ALTER TABLE `spell_template` ADD COLUMN `AttributesServerside` int(11) unsigned NOT NULL DEFAULT '0'; | ||
|
||
-- Removes aura interrupt flag by sitting for spells that do not make a creature sit, all seem to be copypasted for unknown reasons | ||
UPDATE spell_template SET AuraInterruptFlags=AuraInterruptFlags&~0x00040000 WHERE Id IN(6606,14915,16093); | ||
UPDATE `spell_template` SET `AuraInterruptFlags`=AuraInterruptFlags&~0x00040000 WHERE `Id` IN(6606,14915,16093); | ||
|
||
UPDATE spell_template SET EffectItemType2=268435456 WHERE Id IN(16106); -- all ranks except rank 3 have mask | ||
UPDATE spell_template SET EffectItemType1=0x00240000 WHERE Id IN(12842); -- all ranks except rank 5 have mask | ||
-- all ranks except rank 3 have mask | ||
UPDATE `spell_template` SET `EffectItemType2`=268435456 WHERE `Id`=16106; | ||
-- all ranks except rank 5 have mask | ||
UPDATE `spell_template` SET `EffectItemType1`=0x00240000 WHERE `Id`=12842; | ||
|
||
-- Allow caster to cast this self-target spell even if he is immune to the spell damage school | ||
UPDATE spell_template SET Attributes = Attributes | 0x20000000 WHERE id IN (22972, 22975, 22976, 22977, 22978, 22979, 22980, 22981, 22982, 22983, 22984, 22985, 22986); | ||
UPDATE `spell_template` SET `Attributes`=Attributes|0x20000000 WHERE `id` IN(22972,22975,22976,22977,22978,22979,22980,22981,22982,22983,22984,22985,22986); | ||
|
||
-- Fixed radius for the various spells used in summoning NPCs in Nefarian encounter | ||
-- Value in DBC made the adds spawn anywhere instead of near their spawner NPC | ||
UPDATE spell_template SET EffectRadiusIndex1=7 WHERE id IN (22654, 22655, 22656, 22657, 22658, 22680); | ||
UPDATE `spell_template` SET `EffectRadiusIndex1`=7 WHERE `id` IN(22654,22655,22656,22657,22658,22680); | ||
|
||
-- Fixes spell 13166 (Gnomish Battle Chicken): the summoning type was wrong | ||
UPDATE spell_template SET Effect1=42, EffectBasePoints1=0 WHERE id=13166; | ||
UPDATE `spell_template` SET `Effect1`=42, `EffectBasePoints1`=0 WHERE `id`=13166; | ||
|
||
-- Fixes InterruptFlags for spell 18115 (Viewing Room Student Transform - Effect): it should not cancel on movement | ||
UPDATE spell_template SET InterruptFlags=0 WHERE id=18115; | ||
UPDATE `spell_template` SET `InterruptFlags`=0 WHERE `id`=18115; | ||
|
||
-- Fixes Well Fed buff for some seasonal food like Winter Veil cookies | ||
UPDATE spell_template SET Effect2=6, EffectDieSides2=1, EffectBaseDice2=1, EffectImplicitTargetA2=1, EffectApplyAuraName2=23, EffectAmplitude2=10000, EffectTriggerSpell2=24870 WHERE Id=24869; | ||
UPDATE spell_template SET EffectRealPointsPerLevel1=0.25, EffectRealPointsPerLevel2=0.25, EffectBaseDice1=0, EffectBaseDice2=0, EffectBasePoints2=0 WHERE id=24870; | ||
UPDATE `spell_template` SET `Effect2`=6, `EffectDieSides2`=1, `EffectBaseDice2`=1, `EffectImplicitTargetA2`=1, `EffectApplyAuraName2`=23, `EffectAmplitude2`=10000, `EffectTriggerSpell2`=24870 WHERE `Id`=24869; | ||
UPDATE `spell_template` SET `EffectRealPointsPerLevel1`=0.25, `EffectRealPointsPerLevel2`=0.25, `EffectBaseDice1`=0, `EffectBaseDice2`=0, `EffectBasePoints2`=0 WHERE `id`=24870; | ||
|
||
-- Added Ignore LoS attribute for Magic Wings spell (trigger NPC is not always in LoS of player) | ||
UPDATE spell_template SET AttributesEx2=AttributesEx2|0x00000004 WHERE id=24742; | ||
UPDATE `spell_template` SET `AttributesEx2`=AttributesEx2|0x00000004 WHERE `id`=24742; |