mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
feat(Scripts/Commands): introduce go creature name (#17910)
* feat(Scripts/Commands): introduce go creature name * closes https://github.com/azerothcore/azerothcore-wotlk/issues/2315 * Since new command handler the old "go creature" dont take name as argument * Update cs_go.cpp * this could be null... so let's avoid stupid crashes * we only need the first result if there are multiple * Update cs_go.cpp * Update rev_1701381015172273800.sql
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
--
|
||||
DELETE FROM `command` WHERE `name`='go creature name';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('go creature name', 1, 'Syntax: .go creature name #name\r\nTeleports you to the first spawn for the given creature name.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.');
|
||||
|
||||
UPDATE `command` SET `help` = 'Syntax: .go creature id #creature_entry\r\nTeleports you to the given creature entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.' WHERE `name` = 'go creature id';
|
||||
Reference in New Issue
Block a user