Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9121] Implement dummy effects for spell 50926,51026,51592 and 51961
Note: Some adjustments in addition to original patch, using delay despawn. Also provide sql update for proper work of affected spells (if already exist in database). Signed-off-by: NoFantasy <nofantasy@nf.no>
- Loading branch information
frcoun
authored and
NoFantasy
committed
Jan 7, 2010
1 parent
b5d446f
commit 56a6627
Showing
6 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_9095_01_mangos_command required_9121_01_mangos_npc_spellclick_spells bit; | ||
|
||
UPDATE npc_spellclick_spells SET cast_flags=1 WHERE spell_id IN (50926,51026,51592,51961); | ||
DELETE FROM npc_spellclick_spells WHERE spell_id IN (50927,50737,51593,51037); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "9120" | ||
#define REVISION_NR "9121" | ||
#endif // __REVISION_NR_H__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#ifndef __REVISION_SQL_H__ | ||
#define __REVISION_SQL_H__ | ||
#define REVISION_DB_CHARACTERS "required_8874_01_characters_character_skills" | ||
#define REVISION_DB_MANGOS "required_9095_01_mangos_command" | ||
#define REVISION_DB_MANGOS "required_9121_01_mangos_npc_spellclick_spells" | ||
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist" | ||
#endif // __REVISION_SQL_H__ |