mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7879] Fixed proc for 31571 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
6a5cd72e4d
commit
a59de33941
5 changed files with 27 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`;
|
||||||
CREATE TABLE `db_version` (
|
CREATE TABLE `db_version` (
|
||||||
`version` varchar(120) default NULL,
|
`version` varchar(120) default NULL,
|
||||||
`creature_ai_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';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
7
sql/updates/7879_01_mangos_spell_proc_event.sql
Normal file
7
sql/updates/7879_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -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);
|
||||||
|
|
@ -191,6 +191,7 @@ pkgdata_DATA = \
|
||||||
7850_01_mangos_command.sql \
|
7850_01_mangos_command.sql \
|
||||||
7855_01_mangos_pools.sql \
|
7855_01_mangos_pools.sql \
|
||||||
7867_01_realmd_account.sql \
|
7867_01_realmd_account.sql \
|
||||||
|
7879_01_mangos_spell_proc_event.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -362,4 +363,5 @@ EXTRA_DIST = \
|
||||||
7850_01_mangos_command.sql \
|
7850_01_mangos_command.sql \
|
||||||
7855_01_mangos_pools.sql \
|
7855_01_mangos_pools.sql \
|
||||||
7867_01_realmd_account.sql \
|
7867_01_realmd_account.sql \
|
||||||
|
7879_01_mangos_spell_proc_event.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -4893,6 +4893,22 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
triggered_spell_id = 29077;
|
triggered_spell_id = 29077;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//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
|
// Hot Streak
|
||||||
if (dummySpell->SpellIconID == 2999)
|
if (dummySpell->SpellIconID == 2999)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7878"
|
#define REVISION_NR "7879"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue