Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core/Commands: Implement .debug moveflags command. With params you ca…
…n set MoveFlags and MoveFlagsExtra for targeted unit. Without params it will display the current MoveFlags and MoveFlagsExtra. Useful for debugging upcoming changes.
- Loading branch information
1 parent
a08fe16
commit d1e4eb0
Showing
3 changed files
with
46 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
DELETE FROM `command` WHERE `name` LIKE 'debug moveflags'; | ||
INSERT INTO `command` (`name`,`security`,`help`) VALUES | ||
('debug moveflags',3,'Syntax: .debug moveflags [$newMoveFlags [$newMoveFlags2]]\r\nNo params given will output the current moveflags of the target'); | ||
|
||
DELETE FROM `trinity_string` WHERE `entry` IN(1143,1144); | ||
INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES | ||
(1143,'Target''s moveFlags: %u, moveFlagsExtra: %u.'), | ||
(1144,'Target''s moveFlags set to: %u, moveFlagsExtra to: %u'); | ||
|
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
d1e4eb0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!