[3.3.5]Spell Conjured Mana Strudel
http://www.wowhead.com/item=43523/conjured-mana-strudel Only mana buff applys.
Rev. https://github.com/TrinityCore/TrinityCore/commit/43e8c841f5357a6cf41cdb8ed5e496019f14a16a

TrinityCore rev. 43e8c841f535 2015-08-12 23:43:24 +0200 (3.3.5 branch) (Win64, Release) Confirmed, http://wotlk.openwow.com/spell=58648 only triggers Effect 2 (Drink), not Effect 1 (Food). Note: Eating a [Conjured Mana Strudel] also triggers the error message Spell is not ready yet.
.cast 45548 (Food) and .cast 57073 (Drink) works as expected.
- http://wotlk.openwow.com/item=43523 (Conjured Mana Strudel)
- http://wotlk.openwow.com/spell=58648 (Restores 22500 health and 3200 mana over 30 sec.
Must remain seated while eating.)
- Effect 1: http://wotlk.openwow.com/spell=45548 (Food)
- Effect 2: http://wotlk.openwow.com/spell=57073 (Drink)
If the wotlk.openwow.com info is based directly on TDB info, there is a possible (?) symptom of this spell error on the spell 58648 page: both the Drink and the Food icons are shown in the Effect 1 (Food) section (compared to the page http://www.wowhead.com/spell=58648/refreshment).
Cannot reproduce on rev. d69a31d23812 I get both buffs and no error message.
id: 45548 [Food] effmask: 1 charges: 0 stack: 1 slot 0 duration: 26400 maxduration: 30000 caster: player guid: 2 id: 57073 [Drink] effmask: 3 charges: 0 stack: 1 slot 1 duration: 26400 maxduration: 30000 caster: player guid: 2
well the commit is 2 days old https://github.com/TrinityCore/TrinityCore/commit/43e8c841f5357a6cf41cdb8ed5e496019f14a16a and not 6 days old https://github.com/TrinityCore/TrinityCore/commit/d69a31d238122ab1ceb998908ebf218299792a16
and: does this affects all bufffoods which add a statsbuff?
This commit is bugged https://github.com/TrinityCore/TrinityCore/commit/43e8c841f5357a6cf41cdb8ed5e496019f14a16a
why do you close it then?
Sorry lag.
Interesting. I forgot 43e8c841f5 (Core/Spells: Fix potions exploit). From https://github.com/TrinityCore/TrinityCore/commit/43e8c841f5357a6cf41cdb8ed5e496019f14a16a#commitcomment-12676242:
Item(Entry: 43523) spellid_1 (58648) category 11 added to sSpellsByCategoryStore
I presume that similar issues will appear on other items with hp + mana buff. I tested some cooking items with both buffs, but they work. Will this issue only apply to conjured items and potions / elixirs / flasks?
It will appear on items that trigger two spells with the same category cooldown.
@ariel- this issue happens because of how cooldowns are handled, adding them before the spell finishes casting
The problem comes from the Spell handling code, as both "food" and "drink" spells are being TRIGGERED by the original item spell, they should ignore any cooldowns present. (they get the TRIGGERED_FULL_MASK flag, in particular they get TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD)
OK, since that spell (and other spells with 2 sub-spells with shared cooldown) should be exceptions to the exploit prevention, can it be done in SpellMgr.cpp or does it need a separate sub-script somewhere else?
Guess this is a cheat but it works.
UPDATE item_template SET spellcategory_1=0 WHERE entry=43523;
Guess this is a cheat but it works.
UPDATE `item_template` SET `spellcategory_1`= 0 WHERE `entry`= 43523;
I don't know, I hope one of the experienced devs will comment on that.
Yes, hack.