mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
[7141] Implement heroic raid instance mode support.
* Heroic mode player amount for instances in DB. Can be used for any instances but added for heroic raid instance. * Output transfer error at max playrs limit. * FIXME notes ;) for raid required implementing store 2 reset time and do global reset for 2 modes. But currently raid have inmmap entry data same reset time for both cases. * Update instances list where mounts allowed. * Simplify and fix code for SMSG_RAID_INSTANCE_INFO. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2a891a8c92
commit
f26d6151c8
11 changed files with 87 additions and 52 deletions
12
sql/updates/7141_01_mangos_instance_template.sql
Normal file
12
sql/updates/7141_01_mangos_instance_template.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_7133_02_mangos_spell_loot_template required_7141_01_mangos_instance_template bit;
|
||||
|
||||
ALTER TABLE instance_template ADD maxPlayersHeroic tinyint(3) unsigned NOT NULL default '0' AFTER maxPlayers;
|
||||
|
||||
UPDATE instance_template SET maxPlayersHeroic = maxPlayers;
|
||||
|
||||
DELETE FROM instance_template WHERE map IN (533,615,616,624);
|
||||
INSERT INTO instance_template VALUES
|
||||
(533,0,80,0,10,25,0,NULL,NULL,NULL,NULL,''),
|
||||
(615,0,80,0,10,25,0,NULL,NULL,NULL,NULL,''),
|
||||
(616,0,80,0,10,25,0,NULL,NULL,NULL,NULL,''),
|
||||
(624,0,80,0,10,25,0,NULL,NULL,NULL,NULL,'');
|
||||
Loading…
Add table
Add a link
Reference in a new issue