[7879] Fixed proc for 31571 and ranks. Author: Tanatos
--HG-- branch : trunk
This commit is contained in:
1 parent
9381493a64
commit
4ebe23324b
3 files changed
+24
-1
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`;
|
||||
CREATE TABLE `db_version` (
|
||||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`required_7855_01_mangos_pools` bit(1) default NULL
|
||||
`required_7879_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE db_version CHANGE COLUMN required_7855_01_mangos_pools required_7879_01_mangos_spell_proc_event bit;
|
||||
|
||||
|
||||
DELETE FROM spell_proc_event WHERE entry IN (31571, 31572);
|
||||
INSERT INTO spell_proc_event VALUES
|
||||
(31571, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(31572, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
@@ -5263,6 +5263,22 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
CastSpell(target, triggered_spell_id, true, 0, triggeredByAura);
|
||||
return true;
|
||||
}
|
||||
|
||||
//Arcane Potency
|
||||
if (dummySpell->SpellIconID == 2120)
|
||||
{
|
||||
if(!procSpell)
|
||||
return false;
|
||||
|
||||
target = this;
|
||||
switch (dummySpell->Id)
|
||||
{
|
||||
case 31571: triggered_spell_id = 57529; break;
|
||||
case 31572: triggered_spell_id = 57531; break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
// Hot Streak
|
||||
if (dummySpell->SpellIconID == 2999)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user