mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[12121] Implement some server side summons spells
Add spells: 34810, 34817, 34818, 34819, 35153, 35904, 35905, 35906 Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
2b1842dfb0
commit
5214147ace
5 changed files with 32 additions and 4 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_12120_01_mangos_spell_template` bit(1) default NULL
|
||||
`required_12121_01_mangos_spell_template` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -21442,11 +21442,19 @@ CREATE TABLE `spell_template` (
|
|||
LOCK TABLES `spell_template` WRITE;
|
||||
/*!40000 ALTER TABLE `spell_template` DISABLE KEYS */;
|
||||
INSERT INTO `spell_template` VALUES
|
||||
-- ID proc_flags chnce dur ef0 tarA0 rad aur misc miscB, trigger
|
||||
-- id proc_flags chnce dur ef0 tarA0 rad aur misc miscB, trigger
|
||||
(21387, 0x00000028, 15, 21, 6, 1, 0, 42, 0, 0, 21388, 'Melt-Weapon trigger aura related used by Ragnaros'),
|
||||
(23363, 0x00000000, 101, 21, 76, 18, 0, 0, 179804, 0, 0, 'Summon Drakonid Corpse Trigger'),
|
||||
(25192, 0x00000000, 101, 21, 76, 18, 0, 0, 180619, 0, 0, 'Summon Ossirian Crystal'),
|
||||
(26133, 0x00000000, 101, 21, 76, 18, 0, 0, 180795, 0, 0, 'Summon Sandworm Base'),
|
||||
(34810, 0x00000000, 101, 21, 28, 42, 8, 0, 20083, 64, 0, 'Summon Summoned Bloodwarder Mender behind of the caster'),
|
||||
(34817, 0x00000000, 101, 21, 28, 44, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist right of the caster'),
|
||||
(34818, 0x00000000, 101, 21, 28, 43, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist left of the caster'),
|
||||
(34819, 0x00000000, 101, 21, 28, 41, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist front of the caster'),
|
||||
(35153, 0x00000000, 101, 21, 28, 42, 8, 0, 20405, 64, 0, 'Summon Nether Charge behind of the caster'),
|
||||
(35904, 0x00000000, 101, 21, 28, 44, 8, 0, 20405, 64, 0, 'Summon Nether Charge right of the caster'),
|
||||
(35905, 0x00000000, 101, 21, 28, 43, 8, 0, 20405, 64, 0, 'Summon Nether Charge left of the caster'),
|
||||
(35906, 0x00000000, 101, 21, 28, 41, 8, 0, 20405, 64, 0, 'Summon Nether Charge front of the caster'),
|
||||
(44920, 0x00000000, 101, 21, 6, 1, 0, 56, 24941, 0, 0, 'Model - Shattered Sun Marksman - BE Male Tier 4'),
|
||||
(44924, 0x00000000, 101, 21, 6, 1, 0, 56, 24945, 0, 0, 'Model - Shattered Sun Marksman - BE Female Tier 4'),
|
||||
(44928, 0x00000000, 101, 21, 6, 1, 0, 56, 24949, 0, 0, 'Model - Shattered Sun Marksman - Draenei Male Tier 4'),
|
||||
|
|
|
|||
12
sql/updates/12121_01_mangos_spell_template.sql
Normal file
12
sql/updates/12121_01_mangos_spell_template.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_12120_01_mangos_spell_template required_12121_01_mangos_spell_template bit;
|
||||
|
||||
DELETE FROM spell_template WHERE id IN (34810, 34817, 34818, 34819, 35153, 35904, 35905, 35906);
|
||||
INSERT INTO spell_template VALUES
|
||||
(34810, 0x00000000, 101, 21, 28, 42, 8, 0, 20083, 64, 0, 'Summon Summoned Bloodwarder Mender behind of the caster'),
|
||||
(34817, 0x00000000, 101, 21, 28, 44, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist right of the caster'),
|
||||
(34818, 0x00000000, 101, 21, 28, 43, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist left of the caster'),
|
||||
(34819, 0x00000000, 101, 21, 28, 41, 8, 0, 20078, 64, 0, 'Summon Summoned Bloodwarder Reservist front of the caster'),
|
||||
(35153, 0x00000000, 101, 21, 28, 42, 8, 0, 20405, 64, 0, 'Summon Nether Charge behind of the caster'),
|
||||
(35904, 0x00000000, 101, 21, 28, 44, 8, 0, 20405, 64, 0, 'Summon Nether Charge right of the caster'),
|
||||
(35905, 0x00000000, 101, 21, 28, 43, 8, 0, 20405, 64, 0, 'Summon Nether Charge left of the caster'),
|
||||
(35906, 0x00000000, 101, 21, 28, 41, 8, 0, 20405, 64, 0, 'Summon Nether Charge front of the caster');
|
||||
|
|
@ -1332,6 +1332,14 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
|
|||
m_caster->CastSpell(m_caster, spell_id, true, NULL);
|
||||
return;
|
||||
}
|
||||
case 34803: // Summon Reinforcements
|
||||
{
|
||||
m_caster->CastSpell(m_caster, 34810, true); // Summon 20083 behind of the caster
|
||||
m_caster->CastSpell(m_caster, 34817, true); // Summon 20078 right of the caster
|
||||
m_caster->CastSpell(m_caster, 34818, true); // Summon 20078 left of the caster
|
||||
m_caster->CastSpell(m_caster, 34819, true); // Summon 20078 front of the caster
|
||||
return;
|
||||
}
|
||||
case 36677: // Chaos Breath
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12120"
|
||||
#define REVISION_NR "12121"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_12112_02_characters_character"
|
||||
#define REVISION_DB_MANGOS "required_12120_01_mangos_spell_template"
|
||||
#define REVISION_DB_MANGOS "required_12121_01_mangos_spell_template"
|
||||
#define REVISION_DB_REALMD "required_12112_01_realmd_account_access"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue