mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9978] Add explicit AP damage bonus for spells 55095, 55095.
Original patch provided johonson.
This commit is contained in:
parent
fe69843ce7
commit
4e716c67da
6 changed files with 17 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_9977_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
`required_9978_01_mangos_spell_bonus_data` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -14204,12 +14204,10 @@ LOCK TABLES `spell_bonus_data` WRITE;
|
|||
INSERT INTO `spell_bonus_data` VALUES
|
||||
/* Death Knight */
|
||||
(48721, 0, 0, 0.04, 'Death Knight - Blood Boil'),
|
||||
(55078, 0, 0, 0.055, 'Death Knight - Blood Plague Dummy Proc'),
|
||||
(50444, 0, 0, 0.105, 'Death Knight - Corpse Explosion Triggered'),
|
||||
(52212, 0, 0, 0.0475,'Death Knight - Death and Decay Triggered'),
|
||||
(47632, 0, 0, 0.15, 'Death Knight - Death Coil Damage'),
|
||||
(47633, 0, 0, 0.15, 'Death Knight - Death Coil Heal'),
|
||||
(55095, 0, 0, 0.055, 'Death Knight - Frost Fever'),
|
||||
(49184, 0, 0, 0.1, 'Death Knight - Howling Blast'),
|
||||
(45477, 0, 0, 0.1, 'Death Knight - Icy Touch'),
|
||||
(56903, 0, 0, 0, 'Death Knight - Lichflame'),
|
||||
|
|
|
|||
3
sql/updates/9978_01_mangos_spell_bonus_data.sql
Normal file
3
sql/updates/9978_01_mangos_spell_bonus_data.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9977_01_mangos_spell_proc_event required_9978_01_mangos_spell_bonus_data bit;
|
||||
|
||||
DELETE FROM `spell_bonus_data` WHERE `entry` IN (55078,55095);
|
||||
|
|
@ -72,6 +72,7 @@ pkgdata_DATA = \
|
|||
9967_01_mangos_spell_proc_event.sql \
|
||||
9974_01_characters_group.sql \
|
||||
9977_01_mangos_spell_proc_event.sql \
|
||||
9978_01_mangos_spell_bonus_data.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -124,4 +125,5 @@ EXTRA_DIST = \
|
|||
9967_01_mangos_spell_proc_event.sql \
|
||||
9974_01_characters_group.sql \
|
||||
9977_01_mangos_spell_proc_event.sql \
|
||||
9978_01_mangos_spell_bonus_data.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -4988,6 +4988,15 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
{
|
||||
//Frost Fever and Blood Plague AP scale
|
||||
if (m_spellProto->SpellFamilyFlags & UI64LIT(0x400080000000000))
|
||||
{
|
||||
m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 0.055f * 1.15f);
|
||||
};
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9977"
|
||||
#define REVISION_NR "9978"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_9974_01_characters_group"
|
||||
#define REVISION_DB_MANGOS "required_9977_01_mangos_spell_proc_event"
|
||||
#define REVISION_DB_MANGOS "required_9978_01_mangos_spell_bonus_data"
|
||||
#define REVISION_DB_REALMD "required_9748_01_realmd_realmlist"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue