mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/Spells: Partial revert of 5ddf90c5fe, use checkcast hook for disallowing spells to be casted directly
Closes #2108
This commit is contained in:
@@ -1976,6 +1976,11 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
|
||||
( 25281, 'spell_gen_turkey_marker'),
|
||||
(-55428, 'spell_gen_lifeblood'),
|
||||
( 65917, 'spell_gen_magic_rooster'),
|
||||
( 4073, 'spell_gen_allow_cast_from_item_only'),
|
||||
( 19804, 'spell_gen_allow_cast_from_item_only'),
|
||||
( 12749, 'spell_gen_allow_cast_from_item_only'),
|
||||
( 13258, 'spell_gen_allow_cast_from_item_only'),
|
||||
( 13166, 'spell_gen_allow_cast_from_item_only'),
|
||||
-- instances
|
||||
-- Black Temple
|
||||
( 41475, 'spell_boss_lady_malande_shield'),
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN(4073,19804,12749,13258,13166);
|
||||
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
|
||||
(4073,'spell_gen_allow_cast_from_item_only'),
|
||||
(19804,'spell_gen_allow_cast_from_item_only'),
|
||||
(12749,'spell_gen_allow_cast_from_item_only'),
|
||||
(13258,'spell_gen_allow_cast_from_item_only'),
|
||||
(13166,'spell_gen_allow_cast_from_item_only');
|
||||
Reference in New Issue
Block a user