Trinitycore: [3.3.5] Spell/Warlock: Improved Drain Soul not work properly

Created on 7 Feb 2017  路  4Comments  路  Source: TrinityCore/TrinityCore

Description:
http://wotlk.openwow.com/spell=18372

Improved Drain Soul (Rank 2): Returns 15% of your maximum mana if the target is killed by you while you drain its soul. In addition, your Affliction spells generate 20% less threat.

Current behaviour:
Improved Drain Soul not returning a % of your maximum mana.

Expected behaviour:
Improved Drain Soul should return a % of your maximum mana.

Steps to reproduce the problem:

  1. Kill a target under effects of Drain Soul.
  2. No mana gain.

Branch(es): 3.3.5

TC rev. hash/commit: c6060dd

TDB version: TDB_full_world_335.62_2016_10_17 + updates

Operating system: Windows

Branch-3.3.5a Comp-Database Feedback-PatchFix Sub-Spells

Most helpful comment

Yeah, it is weird.. crazy spells

All 4 comments

Fix

-- Drain Soul
DELETE FROM `spell_proc` WHERE `SpellId`=-1120;
INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES
(-1120, 0, 0, 0x00000000, 0x00000000, 0x00000000, 0, 0x1, 0x2, 0x0, 0x2, 0, 0, 0, 0);

Maybe with this is enough

-- Drain Soul
UPDATE `spell_proc` SET `SpellPhaseMask` = 0x2, `AttributesMask` = 0x0 WHERE `SpellId` = -1120;

@ariel- In the original commit months ago I had this working, iirc u changed something in the next weeks. Time to check commit logs xD

Yeah, it is weird.. crazy spells

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daddycaddy picture daddycaddy  路  3Comments

tje3d picture tje3d  路  3Comments

besplash picture besplash  路  3Comments

Blasphemous picture Blasphemous  路  3Comments

Rochet2 picture Rochet2  路  3Comments