* Move sql updates for 0.11 release to sql/updates/0.11

This commit is contained in:
vladimir-mangos 2008-10-17 09:27:39 +04:00
parent 398b5535b7
commit c1ad5734e1
124 changed files with 343 additions and 343 deletions

View file

@ -1,5 +1,5 @@
alter table `character_social`
change `guid` `guid` int(11) unsigned NOT NULL DEFAULT '0' comment 'Character Global Unique Identifier' first,
change `friend` `friend` int(11) unsigned NOT NULL DEFAULT '0' comment 'Friend Global Unique Identifier' after `guid`,
change `flags` `flags` tinyint(1) unsigned NOT NULL DEFAULT '0' comment 'Friend flags' after `friend`,
change `name` `note` varchar(21) NOT NULL DEFAULT '' collate utf8_general_ci comment 'Friend Note' after `flags`;
alter table `character_social`
change `guid` `guid` int(11) unsigned NOT NULL DEFAULT '0' comment 'Character Global Unique Identifier' first,
change `friend` `friend` int(11) unsigned NOT NULL DEFAULT '0' comment 'Friend Global Unique Identifier' after `guid`,
change `flags` `flags` tinyint(1) unsigned NOT NULL DEFAULT '0' comment 'Friend flags' after `friend`,
change `name` `note` varchar(21) NOT NULL DEFAULT '' collate utf8_general_ci comment 'Friend Note' after `flags`;

View file

@ -1,19 +1,19 @@
UPDATE characters
SET data = CONCAT(
SUBSTRING_INDEX(data,' ',225+1),
' 1 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',315+1),' ',225-315),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',621+1),' ',315-621),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',822+1),' ',621-822),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1319+1),' ',822-1319),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1351+1),' ',1319-1351),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1447+1),' ',1351-1447),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(data,' ',-1449+1447+1)
)
WHERE SUBSTRING_INDEX(data,' ',1448)=data;
UPDATE characters
SET data = CONCAT(
SUBSTRING_INDEX(data,' ',225+1),
' 1 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',315+1),' ',225-315),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',621+1),' ',315-621),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',822+1),' ',621-822),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1319+1),' ',822-1319),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1351+1),' ',1319-1351),
' 0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1447+1),' ',1351-1447),
' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
SUBSTRING_INDEX(data,' ',-1449+1447+1)
)
WHERE SUBSTRING_INDEX(data,' ',1448)=data;

View file

@ -1 +1 @@
alter table guild_bank_tab add column TabText varchar(100) NOT NULL default '' COLLATE utf8_general_ci after TabIcon;
alter table guild_bank_tab add column TabText varchar(100) NOT NULL default '' COLLATE utf8_general_ci after TabIcon;

View file

@ -1,2 +1,2 @@
update creature_template set speed=1 where speed=0;
alter table `creature_template` change `speed` `speed` float DEFAULT '1' NULL;
update creature_template set speed=1 where speed=0;
alter table `creature_template` change `speed` `speed` float DEFAULT '1' NULL;

View file

@ -1,39 +1,39 @@
-- (46090) Brutal Idol of Steadfastness ()
DELETE FROM `spell_affect` WHERE `entry` IN (46090);
INSERT INTO `spell_affect` VALUES (46090, 0, 0, 0x0000000000000002, 0);
-- (46100) Brutal Idol of Tenacity ()
DELETE FROM `spell_affect` WHERE `entry` IN (46100);
INSERT INTO `spell_affect` VALUES (46100, 0, 0, 0x0000001000000000, 0);
-- (46088) Brutall Idol of Resolve ()
DELETE FROM `spell_affect` WHERE `entry` IN (46088);
INSERT INTO `spell_affect` VALUES (46088, 0, 0, 0x0000044000000000, 0);
-- (46091) Brutal Libram of Fortitude ()
DELETE FROM `spell_affect` WHERE `entry` IN (46091);
INSERT INTO `spell_affect` VALUES (46091, 0, 0, 0x0000000000800000, 0);
-- (46095) Brutal Libram of Vengeance ()
DELETE FROM `spell_affect` WHERE `entry` IN (46095);
INSERT INTO `spell_affect` VALUES (46095, 0, 0, 0x0000004000000000, 0);
-- (46851) Holy Shock Bonus ()
DELETE FROM `spell_affect` WHERE `entry` IN (46851);
INSERT INTO `spell_affect` VALUES (46851, 0, 0, 0x0001000000000000, 0);
-- (46096) Brutal Totem of Indomitability ()
DELETE FROM `spell_affect` WHERE `entry` IN (46096);
INSERT INTO `spell_affect` VALUES (46096, 0, 0, 0x0000001000000000, 0);
-- (46097) Brutal Totem of Survival ()
DELETE FROM `spell_affect` WHERE `entry` IN (46097);
INSERT INTO `spell_affect` VALUES (46097, 0, 0, 0x0000000090100000, 0);
-- By triggers
DELETE FROM `spell_affect` WHERE `entry` IN (31569);
DELETE FROM `spell_affect` WHERE `entry` IN (31570);
-- By dummy
DELETE FROM `spell_affect` WHERE `entry` IN (28830);
DELETE FROM `spell_affect` WHERE `entry` IN (33695);
-- (46090) Brutal Idol of Steadfastness ()
DELETE FROM `spell_affect` WHERE `entry` IN (46090);
INSERT INTO `spell_affect` VALUES (46090, 0, 0, 0x0000000000000002, 0);
-- (46100) Brutal Idol of Tenacity ()
DELETE FROM `spell_affect` WHERE `entry` IN (46100);
INSERT INTO `spell_affect` VALUES (46100, 0, 0, 0x0000001000000000, 0);
-- (46088) Brutall Idol of Resolve ()
DELETE FROM `spell_affect` WHERE `entry` IN (46088);
INSERT INTO `spell_affect` VALUES (46088, 0, 0, 0x0000044000000000, 0);
-- (46091) Brutal Libram of Fortitude ()
DELETE FROM `spell_affect` WHERE `entry` IN (46091);
INSERT INTO `spell_affect` VALUES (46091, 0, 0, 0x0000000000800000, 0);
-- (46095) Brutal Libram of Vengeance ()
DELETE FROM `spell_affect` WHERE `entry` IN (46095);
INSERT INTO `spell_affect` VALUES (46095, 0, 0, 0x0000004000000000, 0);
-- (46851) Holy Shock Bonus ()
DELETE FROM `spell_affect` WHERE `entry` IN (46851);
INSERT INTO `spell_affect` VALUES (46851, 0, 0, 0x0001000000000000, 0);
-- (46096) Brutal Totem of Indomitability ()
DELETE FROM `spell_affect` WHERE `entry` IN (46096);
INSERT INTO `spell_affect` VALUES (46096, 0, 0, 0x0000001000000000, 0);
-- (46097) Brutal Totem of Survival ()
DELETE FROM `spell_affect` WHERE `entry` IN (46097);
INSERT INTO `spell_affect` VALUES (46097, 0, 0, 0x0000000090100000, 0);
-- By triggers
DELETE FROM `spell_affect` WHERE `entry` IN (31569);
DELETE FROM `spell_affect` WHERE `entry` IN (31570);
-- By dummy
DELETE FROM `spell_affect` WHERE `entry` IN (28830);
DELETE FROM `spell_affect` WHERE `entry` IN (33695);
DELETE FROM `spell_affect` WHERE `entry` IN (37182);

View file

@ -1,6 +1,6 @@
ALTER TABLE npc_vendor
ADD ExtendedCost mediumint(8) unsigned NOT NULL default '0';
UPDATE npc_vendor,item_template SET npc_vendor.ExtendedCost = item_template.ExtendedCost WHERE npc_vendor.item = item_template.entry;
ALTER TABLE item_template
DROP ExtendedCost,
ALTER TABLE npc_vendor
ADD ExtendedCost mediumint(8) unsigned NOT NULL default '0';
UPDATE npc_vendor,item_template SET npc_vendor.ExtendedCost = item_template.ExtendedCost WHERE npc_vendor.item = item_template.entry;
ALTER TABLE item_template
DROP ExtendedCost,
DROP CondExtendedCost;

View file

@ -1,6 +1,6 @@
ALTER TABLE `areatrigger_teleport`
ADD COLUMN `required_item2` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item`,
ADD COLUMN `heroic_key` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item2`,
ADD COLUMN `heroic_key2` mediumint(8) unsigned NOT NULL default '0' AFTER `heroic_key`,
ADD COLUMN `required_quest_done` int(11) unsigned NOT NULL default '0' AFTER `heroic_key2`,
ALTER TABLE `areatrigger_teleport`
ADD COLUMN `required_item2` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item`,
ADD COLUMN `heroic_key` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item2`,
ADD COLUMN `heroic_key2` mediumint(8) unsigned NOT NULL default '0' AFTER `heroic_key`,
ADD COLUMN `required_quest_done` int(11) unsigned NOT NULL default '0' AFTER `heroic_key2`,
ADD COLUMN `required_failed_text` text AFTER `required_quest_done`;

View file

@ -1,2 +1,2 @@
ALTER TABLE `creature_addon` ADD `moveflags` int(10) unsigned NOT NULL default '0' AFTER `emote`;
ALTER TABLE `creature_addon` ADD `moveflags` int(10) unsigned NOT NULL default '0' AFTER `emote`;
ALTER TABLE `creature_template_addon` ADD `moveflags` int(10) unsigned NOT NULL default '0' AFTER `emote`;

View file

@ -1,118 +1,118 @@
DELETE FROM `command` WHERE `name` = 'addgo';
DELETE FROM `command` WHERE `name` = 'addquest';
DELETE FROM `command` WHERE `name` = 'addspw';
DELETE FROM `command` WHERE `name` = 'addtele';
DELETE FROM `command` WHERE `name` = 'addvendoritem';
DELETE FROM `command` WHERE `name` = 'addweapon';
DELETE FROM `command` WHERE `name` = 'allowmove';
DELETE FROM `command` WHERE `name` = 'anim';
DELETE FROM `command` WHERE `name` = 'money';
DELETE FROM `command` WHERE `name` = 'morph';
DELETE FROM `command` WHERE `name` = 'movecreature';
DELETE FROM `command` WHERE `name` = 'moveobject';
DELETE FROM `command` WHERE `name` = 'name';
DELETE FROM `command` WHERE `name` = 'nametele';
DELETE FROM `command` WHERE `name` = 'nearobjects';
DELETE FROM `command` WHERE `name` = 'npcflag';
DELETE FROM `command` WHERE `name` = 'npcinfo';
DELETE FROM `command` WHERE `name` = 'npcinfoset';
DELETE FROM `command` WHERE `name` = 'npcwhisper';
DELETE FROM `command` WHERE `name` = 'castback';
DELETE FROM `command` WHERE `name` = 'casttarget';
DELETE FROM `command` WHERE `name` = 'changelevel';
DELETE FROM `command` WHERE `name` = 'delete';
DELETE FROM `command` WHERE `name` = 'delobject';
DELETE FROM `command` WHERE `name` = 'deltele';
DELETE FROM `command` WHERE `name` = 'delvendoritem';
DELETE FROM `command` WHERE `name` = 'drunk';
DELETE FROM `command` WHERE `name` = 'factionid';
DELETE FROM `command` WHERE `name` = 'getvalue';
DELETE FROM `command` WHERE `name` = 'gocreature';
DELETE FROM `command` WHERE `name` = 'gograveyard';
DELETE FROM `command` WHERE `name` = 'gogrid';
DELETE FROM `command` WHERE `name` = 'goobject';
DELETE FROM `command` WHERE `name` = 'gotrigger';
DELETE FROM `command` WHERE `name` = 'goxy';
DELETE FROM `command` WHERE `name` = 'goxyz';
DELETE FROM `command` WHERE `name` = 'gozonexy';
DELETE FROM `command` WHERE `name` = 'grouptele';
DELETE FROM `command` WHERE `name` = 'listcreature';
DELETE FROM `command` WHERE `name` = 'listgm';
DELETE FROM `command` WHERE `name` = 'listitem';
DELETE FROM `command` WHERE `name` = 'listobject';
DELETE FROM `command` WHERE `name` = 'playemote';
DELETE FROM `command` WHERE `name` = 'playsound';
DELETE FROM `command` WHERE `name` = 'removequest';
DELETE FROM `command` WHERE `name` = 'resetall';
DELETE FROM `command` WHERE `name` = 'setmodel';
DELETE FROM `command` WHERE `name` = 'setmovetype';
DELETE FROM `command` WHERE `name` = 'setvalue';
DELETE FROM `command` WHERE `name` = 'spawndist';
DELETE FROM `command` WHERE `name` = 'spawntime';
DELETE FROM `command` WHERE `name` = 'speed';
DELETE FROM `command` WHERE `name` = 'standstate';
DELETE FROM `command` WHERE `name` = 'subname';
DELETE FROM `command` WHERE `name` = 'targetobject';
DELETE FROM `command` WHERE `name` = 'textemote';
DELETE FROM `command` WHERE `name` = 'titles';
DELETE FROM `command` WHERE `name` = 'turnobject';
DELETE FROM `command` WHERE `name` = 'update';
DELETE FROM `command` WHERE `name` = 'visible';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('cast back',3,'Syntax: .cast back #spellid\r\n Selected target will cast #spellid to your character.'),
('cast target',3,'Syntax: .cast target #spellid\r\n Selected target will cast #spellid to his victim.'),
('debug anim',2,'Syntax: .debug anim #emoteid\r\n\r\nPlay emote #emoteid for your character.'),
('debug getvalue',3,'Syntax: .debug getvalue #field #isInt\r\n\r\nGet the field #field of the selected creature. If no creature is selected, get the content of your field.\r\n\r\nUse a #isInt of value 1 if the expected field content is an integer.'),
('debug playsound',1,'Syntax: .debug playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
('debug setvalue',3,'Syntax: .debug setvalue #field #value #isInt\r\n\r\nSet the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.\r\n\r\nUse a #isInt of value 1 if #value is an integer.'),
('debug standstate',2,'Syntax: .debug standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
('debug update',3,'Syntax: .debug update #field #value\r\n\r\nUpdate the field #field of the selected character or creature with value #value.\r\n\r\nIf no #value is provided, display the content of field #field.'),
('gm list',0,'Syntax: .gm list\r\n\r\nDisplay a list of available Game Masters.'),
('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
('go creature',2,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
('go graveyard',2,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
('go trigger',2,'Syntax: .go trigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'),
('go xy',1,'Syntax: .go xy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
('go xyz',1,'Syntax: .go xyz #x #y #z [#mapid]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
('go zonexy',1,'Syntax: .go zonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'),
('gobject add',2,'Syntax: .gobject add #id <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'),
('gobject delete',2,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
('gobject move',2,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
('gobject near ',3,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
('list creature',3,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
('list object',3,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
('modify morph',2,'Syntax: .modify morph #displayid\r\n\r\nChange your current model id to #displayid.'),
('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
('npc addweapon',3,'Not yet implemented.'),
('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement for the selected creature.'),
('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'),
('npc delete',2,'Syntax: .npc delete\r\n\r\nDelete the selected creature from the world.'),
('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
('npc flag',2,'Syntax: .npc flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
('npc info',3,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
('npc setmovetype',2,'Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
('npc spawndist',2,'Syntax: .npc spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
('npc spawntime',2,'Syntax: .npc spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
('npc subname',2,'Syntax: .npc subname $Name\r\n\r\nChange the subname of the selected creature or player to $Name.\r\n\r\nCommand disabled.'),
('npc textemote',3,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents at next login each existed character.'),
('targetobject',2,'Syntax: .gobject target[#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
('tele group',1,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
DELETE FROM `command` WHERE `name` = 'addgo';
DELETE FROM `command` WHERE `name` = 'addquest';
DELETE FROM `command` WHERE `name` = 'addspw';
DELETE FROM `command` WHERE `name` = 'addtele';
DELETE FROM `command` WHERE `name` = 'addvendoritem';
DELETE FROM `command` WHERE `name` = 'addweapon';
DELETE FROM `command` WHERE `name` = 'allowmove';
DELETE FROM `command` WHERE `name` = 'anim';
DELETE FROM `command` WHERE `name` = 'money';
DELETE FROM `command` WHERE `name` = 'morph';
DELETE FROM `command` WHERE `name` = 'movecreature';
DELETE FROM `command` WHERE `name` = 'moveobject';
DELETE FROM `command` WHERE `name` = 'name';
DELETE FROM `command` WHERE `name` = 'nametele';
DELETE FROM `command` WHERE `name` = 'nearobjects';
DELETE FROM `command` WHERE `name` = 'npcflag';
DELETE FROM `command` WHERE `name` = 'npcinfo';
DELETE FROM `command` WHERE `name` = 'npcinfoset';
DELETE FROM `command` WHERE `name` = 'npcwhisper';
DELETE FROM `command` WHERE `name` = 'castback';
DELETE FROM `command` WHERE `name` = 'casttarget';
DELETE FROM `command` WHERE `name` = 'changelevel';
DELETE FROM `command` WHERE `name` = 'delete';
DELETE FROM `command` WHERE `name` = 'delobject';
DELETE FROM `command` WHERE `name` = 'deltele';
DELETE FROM `command` WHERE `name` = 'delvendoritem';
DELETE FROM `command` WHERE `name` = 'drunk';
DELETE FROM `command` WHERE `name` = 'factionid';
DELETE FROM `command` WHERE `name` = 'getvalue';
DELETE FROM `command` WHERE `name` = 'gocreature';
DELETE FROM `command` WHERE `name` = 'gograveyard';
DELETE FROM `command` WHERE `name` = 'gogrid';
DELETE FROM `command` WHERE `name` = 'goobject';
DELETE FROM `command` WHERE `name` = 'gotrigger';
DELETE FROM `command` WHERE `name` = 'goxy';
DELETE FROM `command` WHERE `name` = 'goxyz';
DELETE FROM `command` WHERE `name` = 'gozonexy';
DELETE FROM `command` WHERE `name` = 'grouptele';
DELETE FROM `command` WHERE `name` = 'listcreature';
DELETE FROM `command` WHERE `name` = 'listgm';
DELETE FROM `command` WHERE `name` = 'listitem';
DELETE FROM `command` WHERE `name` = 'listobject';
DELETE FROM `command` WHERE `name` = 'playemote';
DELETE FROM `command` WHERE `name` = 'playsound';
DELETE FROM `command` WHERE `name` = 'removequest';
DELETE FROM `command` WHERE `name` = 'resetall';
DELETE FROM `command` WHERE `name` = 'setmodel';
DELETE FROM `command` WHERE `name` = 'setmovetype';
DELETE FROM `command` WHERE `name` = 'setvalue';
DELETE FROM `command` WHERE `name` = 'spawndist';
DELETE FROM `command` WHERE `name` = 'spawntime';
DELETE FROM `command` WHERE `name` = 'speed';
DELETE FROM `command` WHERE `name` = 'standstate';
DELETE FROM `command` WHERE `name` = 'subname';
DELETE FROM `command` WHERE `name` = 'targetobject';
DELETE FROM `command` WHERE `name` = 'textemote';
DELETE FROM `command` WHERE `name` = 'titles';
DELETE FROM `command` WHERE `name` = 'turnobject';
DELETE FROM `command` WHERE `name` = 'update';
DELETE FROM `command` WHERE `name` = 'visible';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('cast back',3,'Syntax: .cast back #spellid\r\n Selected target will cast #spellid to your character.'),
('cast target',3,'Syntax: .cast target #spellid\r\n Selected target will cast #spellid to his victim.'),
('debug anim',2,'Syntax: .debug anim #emoteid\r\n\r\nPlay emote #emoteid for your character.'),
('debug getvalue',3,'Syntax: .debug getvalue #field #isInt\r\n\r\nGet the field #field of the selected creature. If no creature is selected, get the content of your field.\r\n\r\nUse a #isInt of value 1 if the expected field content is an integer.'),
('debug playsound',1,'Syntax: .debug playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
('debug setvalue',3,'Syntax: .debug setvalue #field #value #isInt\r\n\r\nSet the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.\r\n\r\nUse a #isInt of value 1 if #value is an integer.'),
('debug standstate',2,'Syntax: .debug standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
('debug update',3,'Syntax: .debug update #field #value\r\n\r\nUpdate the field #field of the selected character or creature with value #value.\r\n\r\nIf no #value is provided, display the content of field #field.'),
('gm list',0,'Syntax: .gm list\r\n\r\nDisplay a list of available Game Masters.'),
('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
('go creature',2,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
('go graveyard',2,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
('go trigger',2,'Syntax: .go trigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'),
('go xy',1,'Syntax: .go xy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
('go xyz',1,'Syntax: .go xyz #x #y #z [#mapid]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
('go zonexy',1,'Syntax: .go zonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'),
('gobject add',2,'Syntax: .gobject add #id <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'),
('gobject delete',2,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
('gobject move',2,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
('gobject near ',3,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
('list creature',3,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
('list object',3,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
('modify morph',2,'Syntax: .modify morph #displayid\r\n\r\nChange your current model id to #displayid.'),
('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
('npc addweapon',3,'Not yet implemented.'),
('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement for the selected creature.'),
('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'),
('npc delete',2,'Syntax: .npc delete\r\n\r\nDelete the selected creature from the world.'),
('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
('npc flag',2,'Syntax: .npc flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
('npc info',3,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
('npc setmovetype',2,'Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
('npc spawndist',2,'Syntax: .npc spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
('npc spawntime',2,'Syntax: .npc spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
('npc subname',2,'Syntax: .npc subname $Name\r\n\r\nChange the subname of the selected creature or player to $Name.\r\n\r\nCommand disabled.'),
('npc textemote',3,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents at next login each existed character.'),
('targetobject',2,'Syntax: .gobject target[#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
('tele group',1,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
('tele name',1,'Syntax: .tele name #playername #location\r\n\r\nTeleport a player to a given location.');

View file

@ -1,27 +1,27 @@
INSERT INTO `mangos_string` VALUES ('614', 'The Alliance flag has been respawned!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('615', 'The Horde flag has been respawned!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('636', 'The battle begins in 1 minute.', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('637', 'The battle begins in 30 seconds.', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('638', 'The battle has begun!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('667', 'The Alliance has taken control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('668', 'The Horde has taken control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('669', 'The Alliance has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('670', 'The Horde has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('671', 'The Alliance has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('672', 'The Horde has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('673', 'The Alliance has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('674', 'The Horde has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('675', 'The Alliance has lost control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('676', 'The Horde has lost control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('677', 'The Alliance has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('678', 'The Horde has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('679', 'The Alliance has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('680', 'The Horde has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('681', 'The Alliance has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('682', 'The Horde has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('683', '$N has taken the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('684', 'The Alliance has captured the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('685', 'The Horde has captured the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('686', 'The Flag has been dropped!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('687', 'The flag has been reset', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('614', 'The Alliance flag has been respawned!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('615', 'The Horde flag has been respawned!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('636', 'The battle begins in 1 minute.', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('637', 'The battle begins in 30 seconds.', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('638', 'The battle has begun!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('667', 'The Alliance has taken control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('668', 'The Horde has taken control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('669', 'The Alliance has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('670', 'The Horde has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('671', 'The Alliance has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('672', 'The Horde has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('673', 'The Alliance has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('674', 'The Horde has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('675', 'The Alliance has lost control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('676', 'The Horde has lost control of the Mage Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('677', 'The Alliance has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('678', 'The Horde has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('679', 'The Alliance has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('680', 'The Horde has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('681', 'The Alliance has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('682', 'The Horde has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('683', '$N has taken the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('684', 'The Alliance has captured the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('685', 'The Horde has captured the flag!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('686', 'The Flag has been dropped!', null, null, null, null, null, null, null);
INSERT INTO `mangos_string` VALUES ('687', 'The flag has been reset', null, null, null, null, null, null, null);

View file

@ -1,10 +1,10 @@
DELETE FROM `command` WHERE `name` = 'wp import';
DELETE FROM `command` WHERE `name` = 'wp export';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('wp import',3,'Syntax: .wp import $filename');
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('wp export',3,'Syntax: .wp export [#creature_guid or Select a Creature] $filename');
DELETE FROM `command` WHERE `name` = 'wp import';
DELETE FROM `command` WHERE `name` = 'wp export';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('wp import',3,'Syntax: .wp import $filename');
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('wp export',3,'Syntax: .wp export [#creature_guid or Select a Creature] $filename');
UPDATE `command` SET `help` = 'Syntax: .wp modify [#creature_guid or Select a Creature]\r\nadd - Add a waypoint after the selected visual\r\nwaittime $time\r\nemote ID\r\nspell ID\r\ntext1| text2| text3| text4| text5 <text>\r\nmodel1 ID\r\nmodel2 ID\r\nmove(moves wp to player pos)\r\ndel (deletes the wp)\r\n\r\nOnly one parameter per time!' WHERE `name` = 'wp modify';

View file

@ -1,29 +1,29 @@
-- (17954) Emberstorm (Rank 1)
DELETE FROM `spell_affect` WHERE `entry` IN (17954);
INSERT INTO `spell_affect` VALUES (17954, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17954, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17954, 2, 0x0000004000000000);
-- (17955) Emberstorm (Rank 2)
DELETE FROM `spell_affect` WHERE `entry` IN (17955);
INSERT INTO `spell_affect` VALUES (17955, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17955, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17955, 2, 0x0000004000000000);
-- (17956) Emberstorm (Rank 3)
DELETE FROM `spell_affect` WHERE `entry` IN (17956);
INSERT INTO `spell_affect` VALUES (17956, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17956, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17956, 2, 0x0000004000000000);
-- (17957) Emberstorm (Rank 4)
DELETE FROM `spell_affect` WHERE `entry` IN (17957);
INSERT INTO `spell_affect` VALUES (17957, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17957, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17957, 2, 0x0000004000000000);
-- (17958) Emberstorm (Rank 5)
DELETE FROM `spell_affect` WHERE `entry` IN (17958);
INSERT INTO `spell_affect` VALUES (17958, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17958, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17958, 2, 0x0000004000000000);
-- (17954) Emberstorm (Rank 1)
DELETE FROM `spell_affect` WHERE `entry` IN (17954);
INSERT INTO `spell_affect` VALUES (17954, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17954, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17954, 2, 0x0000004000000000);
-- (17955) Emberstorm (Rank 2)
DELETE FROM `spell_affect` WHERE `entry` IN (17955);
INSERT INTO `spell_affect` VALUES (17955, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17955, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17955, 2, 0x0000004000000000);
-- (17956) Emberstorm (Rank 3)
DELETE FROM `spell_affect` WHERE `entry` IN (17956);
INSERT INTO `spell_affect` VALUES (17956, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17956, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17956, 2, 0x0000004000000000);
-- (17957) Emberstorm (Rank 4)
DELETE FROM `spell_affect` WHERE `entry` IN (17957);
INSERT INTO `spell_affect` VALUES (17957, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17957, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17957, 2, 0x0000004000000000);
-- (17958) Emberstorm (Rank 5)
DELETE FROM `spell_affect` WHERE `entry` IN (17958);
INSERT INTO `spell_affect` VALUES (17958, 0, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17958, 1, 0x000000C000001364);
INSERT INTO `spell_affect` VALUES (17958, 2, 0x0000004000000000);

View file

@ -1,2 +1,2 @@
DROP TABLE playercreateinfo_skill;
DROP TABLE playercreateinfo_skill;
DROP TABLE spell_learn_skill;

View file

@ -1,2 +1,2 @@
ALTER TABLE `creature_template`
ALTER TABLE `creature_template`
ADD COLUMN `PetSpellDataId` mediumint(8) unsigned NOT NULL default '0' AFTER `spell4`;

View file

@ -1,4 +1,4 @@
INSERT INTO `spell_proc_event` VALUES
(20784,0,0,0,0,0,4096,0),
(32850,0,0,0,0,0,1,0),
INSERT INTO `spell_proc_event` VALUES
(20784,0,0,0,0,0,4096,0),
(32850,0,0,0,0,0,1,0),
(34457,0,0,0,0,0,4096,0);

View file

@ -1,19 +1,19 @@
DELETE FROM spell_proc_event WHERE entry = 13743 OR entry = 13875;
DELETE FROM spell_proc_event WHERE entry = 14076 OR entry = 14094;
UPDATE spell_proc_event SET Category = 0, SkillId = 0 WHERE entry = 12797 OR entry = 12799 OR entry = 12800;
UPDATE spell_proc_event SET Category = 0 WHERE entry = 13754 OR entry = 13867;
UPDATE spell_proc_event SET Category = 0 WHERE entry = 40458;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 16850 OR entry = 16923 OR entry = 16924;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 17793 OR entry = 17796 OR entry = 17801 OR entry = 17802 OR entry = 17803;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 23721;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28809;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28823;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 23695;
UPDATE spell_proc_event SET SchoolMask = 0, SpellFamilyMask = 0x8000000060 WHERE entry = 18073 OR entry = 18096;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 19407 OR entry = 19412 OR entry = 19413 OR entry = 19414 OR entry = 19415;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 20234 OR entry = 20235;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 23551 OR entry = 23572;
DELETE FROM spell_proc_event WHERE entry = 13743 OR entry = 13875;
DELETE FROM spell_proc_event WHERE entry = 14076 OR entry = 14094;
UPDATE spell_proc_event SET Category = 0, SkillId = 0 WHERE entry = 12797 OR entry = 12799 OR entry = 12800;
UPDATE spell_proc_event SET Category = 0 WHERE entry = 13754 OR entry = 13867;
UPDATE spell_proc_event SET Category = 0 WHERE entry = 40458;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 16850 OR entry = 16923 OR entry = 16924;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 17793 OR entry = 17796 OR entry = 17801 OR entry = 17802 OR entry = 17803;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 23721;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28809;
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28823;
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 23695;
UPDATE spell_proc_event SET SchoolMask = 0, SpellFamilyMask = 0x8000000060 WHERE entry = 18073 OR entry = 18096;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 19407 OR entry = 19412 OR entry = 19413 OR entry = 19414 OR entry = 19415;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 20234 OR entry = 20235;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 23551 OR entry = 23572;
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 38394;

View file

@ -1,56 +1,56 @@
DELETE FROM spell_affect WHERE (entry = 16757 OR entry = 16758) AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
16757, 1, 0x240
), (
16758, 1, 0x240
);
DELETE FROM spell_affect WHERE (entry = 17904 OR (entry >= 17912 AND entry <= 17916)) AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
17904, 0, 0
), (
17912, 0, 0
), (
17913, 0, 0
), (
17914, 0, 0
), (
17915, 0, 0
), (
17916, 0, 0
);
DELETE FROM spell_affect WHERE entry = 21899 AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
21899, 0, 0x100
);
DELETE FROM spell_affect WHERE entry = 24542 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
24542, 1, 0xF0
);
DELETE FROM spell_affect WHERE entry = 24546 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
24546, 1, 0x400041E00
);
DELETE FROM spell_affect WHERE (entry = 29187 OR entry = 29189 OR entry = 29191) AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
29187, 1, 0x4103000340750
), (
29189, 1, 0x4103000340750
), (
29191, 1, 0x4103000340750
);
DELETE FROM spell_affect WHERE entry = 39805 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
39805, 1, 0x3
);
DELETE FROM spell_affect WHERE entry = 44293 AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
44293, 0, 0x200
DELETE FROM spell_affect WHERE (entry = 16757 OR entry = 16758) AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
16757, 1, 0x240
), (
16758, 1, 0x240
);
DELETE FROM spell_affect WHERE (entry = 17904 OR (entry >= 17912 AND entry <= 17916)) AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
17904, 0, 0
), (
17912, 0, 0
), (
17913, 0, 0
), (
17914, 0, 0
), (
17915, 0, 0
), (
17916, 0, 0
);
DELETE FROM spell_affect WHERE entry = 21899 AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
21899, 0, 0x100
);
DELETE FROM spell_affect WHERE entry = 24542 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
24542, 1, 0xF0
);
DELETE FROM spell_affect WHERE entry = 24546 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
24546, 1, 0x400041E00
);
DELETE FROM spell_affect WHERE (entry = 29187 OR entry = 29189 OR entry = 29191) AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
29187, 1, 0x4103000340750
), (
29189, 1, 0x4103000340750
), (
29191, 1, 0x4103000340750
);
DELETE FROM spell_affect WHERE entry = 39805 AND effectId = 1;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
39805, 1, 0x3
);
DELETE FROM spell_affect WHERE entry = 44293 AND effectId = 0;
INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
VALUES (
44293, 0, 0x200
);

Some files were not shown because too many files have changed in this diff Show more