aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorxjose93 <xjose93@hotmail.com>2013-05-13 01:43:15 +0200
committerxjose93 <xjose93@hotmail.com>2013-05-14 18:07:13 +0200
commite858057eff0ae3bffed44c6be8a41749cc43b777 (patch)
tree9b34b05e6c657fc8cc1dccbba64b1d0c87b40cbc /sql
parent16074667c074131476adb6166918d4a9ee450d4d (diff)
Core/Commands: Improve .damage command, now can damage destructible gameobjects => ".damage go <guid> <damage>"
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2013_05_13_00_world_misc.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/2013_05_13_00_world_misc.sql b/sql/updates/world/2013_05_13_00_world_misc.sql
new file mode 100644
index 00000000000..af20a0f5c02
--- /dev/null
+++ b/sql/updates/world/2013_05_13_00_world_misc.sql
@@ -0,0 +1,5 @@
+SET @ENTRY := 176;
+DELETE FROM `trinity_string` WHERE `entry` IN(@ENTRY, @ENTRY+1);
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
+(@ENTRY, 'Invalid gameobject type, must be a destructible building.'),
+(@ENTRY+1, 'Gameobject %s (GUID: %u) damaged %u (actual health: %u).');