mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Implement aura type SPELL_AURA_MOD_XP_QUEST_PCT (291) and fix SPELL_AURA_MOD_XP_PCT(200) handler.
*Correct structure stored in world.sql for npc_spellclick_spells and fix world_script_text application. --HG-- branch : trunk
This commit is contained in:
@@ -2074,5 +2074,5 @@ INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `
|
||||
|
||||
-- Dual Spec `npc_option` change
|
||||
UPDATE `npc_option` SET `id`=52,`action`=19 WHERE `id`=51 AND `action`=18 AND `option_text`='UNIT_NPC_FLAG_OUTDOORPVP';
|
||||
DELETE FROM `npc_option` WHERE `id`=51 AND `action`=16 AND `option_text`='Purchase a Dual Talent Specialization.';
|
||||
DELETE FROM `npc_option` WHERE `id`=51;
|
||||
INSERT INTO `npc_option` (`id`, `gossip_id`, `npcflag`, `icon`, `action`, `box_money`, `coded`, `option_text`, `box_text`) values('51','0','16','0','18','10000000','0','Purchase a Dual Talent Specialization.','Are you sure you wish to purchase a Dual Talent Specialization?');
|
||||
|
||||
@@ -1890,7 +1890,9 @@ SET character_set_client = utf8;
|
||||
CREATE TABLE `npc_spellclick_spells` (
|
||||
`npc_entry` int(10) unsigned NOT NULL COMMENT 'reference to creature_template',
|
||||
`spell_id` int(10) unsigned NOT NULL COMMENT 'spell which should be casted ',
|
||||
`quest_id` int(10) unsigned NOT NULL COMMENT 'reference to quest_template',
|
||||
`quest_start` mediumint(8) unsigned NOT NULL COMMENT 'reference to quest_template',
|
||||
`quest_start_active` tinyint(1) unsigned NOT NULL default '0',
|
||||
`quest_end` mediumint(8) unsigned NOT NULL default '0',
|
||||
`cast_flags` tinyint(3) unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit',
|
||||
`aura_required` int(11) unsigned NOT NULL default '0' COMMENT 'player without aura cant click',
|
||||
`aura_forbidden` int(11) unsigned NOT NULL default '0' COMMENT 'player with aura cant click',
|
||||
|
||||
Reference in New Issue
Block a user