DB/Priest: Shattered Psyche proc

Open
#31,479 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 10 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
sql
Domain
databases

Research direction

Start with the provided SQL statements for spell IDs 391090 and 391092 and inspect the existing spell_proc rows they replace. Verify that Shattered Psyche applies only during Mind Flay and is removed by the next Mind Blast; no source files or tests are named in the issue.

Written by the indexing model from the issue text.

Description

Branch-master Comp-Database Feedback-PatchFix
Description

Shattered Psyche should get applied only while casting Mind Flay, and removed on the next Mind Blast you cast.

SQL fix
DELETE FROM `spell_proc` WHERE `SpellId` IN (391090);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(391090,0x00,6,0x00000000,0x00000000,0x00000040,0x00000000,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0,0,0,0); -- Shattered Psyche

DELETE FROM `spell_proc` WHERE `SpellId` IN (391092);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(391092,0x00,6,0x00002000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0,0,1); -- Shattered Psyche
Branch

master

TC rev. hash/commit

TrinityCore rev. daac5296a9c3 2025-11-19 08:58:59 +0100 (master branch)

Dominant language
C++
Stars
10.9k
Forks
6.5k
Avg merge
9d 12h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TrinityCore/TrinityCore

All issues in TrinityCore/TrinityCore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.