[8112] Fixed proc conditions for 63156 and ranks

* Fixed proc spell flags.
* Fixed proc only on victim's certain level of HP.

signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-07-04 11:39:48 +02:00
parent aab121fcb2
commit d17a49f6dc
5 changed files with 28 additions and 3 deletions

View file

@ -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_8098_02_mangos_playercreateinfo_action` bit(1) default NULL
`required_8112_01_mangos_spell_proc_event` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
@ -17609,7 +17609,9 @@ INSERT INTO `spell_proc_event` VALUES
(61356, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
(61846, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0),
(61847, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0),
(63108, 0x00000000, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
(63108, 0x00000000, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(63156, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(63158, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
/*!40000 ALTER TABLE `spell_proc_event` ENABLE KEYS */;
UNLOCK TABLES;

View file

@ -0,0 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_8098_02_mangos_playercreateinfo_action required_8112_01_mangos_spell_proc_event bit;
DELETE FROM spell_proc_event WHERE entry IN (63156, 63158);
INSERT INTO spell_proc_event VALUES
(63156, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(63158, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -240,6 +240,7 @@ pkgdata_DATA = \
8098_03_characters_character_pet.sql \
8098_04_characters_pet_spell.sql \
8104_01_characters.sql \
8112_01_mangos_spell_proc_event.sql \
README
## Additional files to include when running 'make dist'
@ -460,4 +461,5 @@ EXTRA_DIST = \
8098_03_characters_character_pet.sql \
8098_04_characters_pet_spell.sql \
8104_01_characters.sql \
8112_01_mangos_spell_proc_event.sql \
README