mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Item): Complimentary Brewfest Sampler (#16992)
* Fix(DB/C++):Item - Complimentary Brewfest Sampler * Delete PlayerStorage.cpp * Update rev_1691843684176706600.sql Correction * Ripristino il file PlayerStorage.cpp * New file: SpellInfoCorrections.cpp * Update rev_1691843684176706600.sql
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Insertion Aura Has Brewfest Mug
|
||||
DELETE FROM `spell_custom_attr` WHERE (`spell_id` = 42533);
|
||||
INSERT INTO `spell_custom_attr` (`spell_id`, `attributes`) VALUES (42533, 16777216);
|
||||
@@ -57,6 +57,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
|
||||
});
|
||||
|
||||
// Has Brewfest Mug
|
||||
ApplySpellFix({ 42533 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(347); // 15 min
|
||||
});
|
||||
|
||||
// Elixir of Minor Fortitude
|
||||
ApplySpellFix({ 2378 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user