-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11214] Implement .debug spellcoefs command
Command show default calculated and DB stored coefficients for spell direct/dot heal/damage.
- Loading branch information
VladimirMangos
committed
Mar 3, 2011
1 parent
9a43b5e
commit 25fd98b
Showing
9 changed files
with
85 additions
and
4 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,10 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_11205_01_mangos_spell_proc_event required_11214_01_mangos_mangos_string bit; | ||
|
||
DELETE FROM mangos_string WHERE entry IN (1202,1203,1204,1205,1206); | ||
|
||
INSERT INTO mangos_string VALUES | ||
(1202,'Spell %u %s = %f (*1.88 = %f) DB = %f AP = %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), | ||
(1203,'direct heal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), | ||
(1204,'direct damage',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), | ||
(1205,'dot heal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), | ||
(1206,'dot damage',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); |
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,7 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_11214_01_mangos_mangos_string required_11214_02_mangos_command bit; | ||
|
||
DELETE FROM command WHERE name = 'debug spellcoefs'; | ||
|
||
INSERT INTO command (name, security, help) VALUES | ||
('debug spellcoefs',3,'Syntax: .debug spellcoefs #pellid\r\n\r\nShow default calculated and DB stored coefficients for direct/dot heal/damage.'); | ||
|
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
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 "11213" | ||
#define REVISION_NR "11214" | ||
#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_11117_02_characters_world" | ||
#define REVISION_DB_MANGOS "required_11205_01_mangos_spell_proc_event" | ||
#define REVISION_DB_MANGOS "required_11214_02_mangos_command" | ||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" | ||
#endif // __REVISION_SQL_H__ |
.debug spellcoefs #pellid
#spellid
maybe?