Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[9826] Fix spell 38736

Signed-off-by: Lightguard <Lightguard@tauri.hu>
  • Loading branch information...
commit 4f08c35f3e9303b1e2ae8ce54f7b097a1a1af5ee 1 parent cf2d301
KiriX authored L1ghtGu4rd committed
View
2  sql/mangos.sql
@@ -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_9803_01_mangos_spell_bonus_data` bit(1) default NULL
+ `required_9826_01_mangos_spell_script_target` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
View
4 sql/updates/9826_01_mangos_spell_script_target.sql
@@ -0,0 +1,4 @@
+ALTER TABLE db_version CHANGE COLUMN required_9803_01_mangos_spell_bonus_data required_9826_01_mangos_spell_script_target bit;
+
+DELETE FROM `spell_script_target` WHERE `entry` IN ('38736','38729');
+INSERT INTO `spell_script_target` VALUES ('38736','1','22288'), ('38729','0','185191');
View
2  sql/updates/Makefile.am
@@ -55,6 +55,7 @@ pkgdata_DATA = \
9794_01_mangos_mangos_string.sql \
9794_02_mangos_command.sql \
9803_01_mangos_spell_bonus_data.sql \
+ 9826_01_mangos_spell_script_target.sql \
README
## Additional files to include when running 'make dist'
@@ -90,4 +91,5 @@ EXTRA_DIST = \
9794_01_mangos_mangos_string.sql \
9794_02_mangos_command.sql \
9803_01_mangos_spell_bonus_data.sql \
+ 9826_01_mangos_spell_script_target.sql \
README
View
7 src/game/SpellAuras.cpp
@@ -2175,6 +2175,13 @@ void Aura::TriggerSpell()
case 33525:
target->CastSpell(target, trigger_spell_id, true, NULL, this, casterGUID);
return;
+ // Rod of Purification - for quest 10839 (Veil Skith: Darkstone of Terokk)
+ case 38736:
+ {
+ if(Unit* caster = GetCaster())
+ caster->CastSpell(target, trigger_spell_id, true, NULL, this);
+ return;
+ }
// Beacon of Light
case 53563:
// original caster must be target (beacon)
View
2  src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "9825"
+ #define REVISION_NR "9826"
#endif // __REVISION_NR_H__
View
2  src/shared/revision_sql.h
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_9767_03_characters_characters"
- #define REVISION_DB_MANGOS "required_9803_01_mangos_spell_bonus_data"
+ #define REVISION_DB_MANGOS "required_9826_01_mangos_spell_script_target"
#define REVISION_DB_REALMD "required_9748_01_realmd_realmlist"
#endif // __REVISION_SQL_H__
Please sign in to comment.
Something went wrong with that request. Please try again.