Jump to content

[sql] Master Tactician


pasdVn

Recommended Posts

Master Tactician (http://www.wowhead.com/?spell=34839) currently only procs on direct damage ranged attacks:

See Unit:ProcDamageAndSpellFor(...):

if(!IsTriggeredAtSpellProcEvent(pTarget, itr->second, procSpell, procFlag, procExtra, attType, isVictim, (damage > 0), spellProcEvent))

(damage>0) prevents other ranged attacks from beeing abled to trigger Master Tactician.

Normally it should (Master Tactician Aura has also PROC_FLAG_SUCCESSFUL_RANGED_SPELL_HIT, or have a look here: http://liennaslog.blogspot.com/2007/12/master-tactician.html).

Therefore we have to create an explicit procflag entry including all hunters ranged attacks:

INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(34506, 0, 9, 522753, 8392833, 513, 0, 0, 0, 0, 0),
(34507, 0, 9, 522753, 8392833, 513, 0, 0, 0, 0, 0),
(34508, 0, 9, 522753, 8392833, 513, 0, 0, 0, 0, 0),
(34838, 0, 9, 522753, 8392833, 513, 0, 0, 0, 0, 0),
(34839, 0, 9, 522753, 8392833, 513, 0, 0, 0, 0, 0);

Thx for the nice proc system, to all developers btw :)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use