talamortis / OregonCore

World of Warcraft 2.4.3 Server Emulator
GNU General Public License v2.0
70 stars 50 forks source link

No Proc Aura from Shaman's Stormstrike #249

Closed PadreWoW closed 2 years ago

PadreWoW commented 3 years ago

Describe the bug No Proc Aura from Shaman's Stormstrike

To Reproduce Steps to reproduce the behavior:

  1. Create Shaman
  2. Learn Talent Stormstrike and Dual Wield
  3. Take two maces (for example)
  4. Use Talent Stormstrike on any mob

Expected behavior When you use Stromstrike on mob, there should appear debuff on mob, that increase NATURE SPELL DAMAGE on mob by 20% for 2 hits

Screenshots изображение

Branch master

Eluna

HASH/COMMIT: https://github.com/talamortis/OregonCore/commit/a96f1abd0a91db175874a666b48d97b0b63fa5cd

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/99151669-no-proc-aura-from-shaman-s-stormstrike?utm_campaign=plugin&utm_content=tracker%2F91676571&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F91676571&utm_medium=issues&utm_source=github).
PadreWoW commented 3 years ago

p.s I did this: UPDATE world.spell_proc_event SET procFlags = '16' , CustomChance = '100' WHERE entry = '17364';

Debuff appears and nature spell damage increased (i'm not shure if ONLY nature spell damage - may be all....) But there is another problem - it should increase nature spell damage ONLY for 2 hits, but the number of charges does not decrease when spells hit

изображение

talamortis commented 3 years ago

I can not confirm this issue as stormstrike seems to be working as intended.

talamortis commented 3 years ago

image image

PadreWoW commented 3 years ago

I can not confirm this issue as stormstrike seems to be working as intended.

Ok - was my error I tried to fix another bug - Mage's Frost, Ice, Molten Armor These armor should proc even mage is under shields, but they are not

I did this:

DELETE FROM world.spell_proc_event WHERE entry IN ('168', '7300', '7301', '7302', '7320', '10219', '10220', '27124', '30482'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('168', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('7300', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('7301', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('7302', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('7320', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('10219', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('10220', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('27124', '0', '0', '0', '0', '1024', '0', '70', '0'); INSERT INTO world.spell_proc_event (entry, SchoolMask, SpellFamilyName, SpellFamilyMask, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES ('30482', '0', '0', '0', '0', '1024', '0', '0', '0');

diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index d923bb03..abcd72a0 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -1191,6 +1191,10 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr return false; }

But this is completely wrong