From 4c3c32cda2ff129ffa000abe9b204823bdb7f3fe Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Tue, 1 Oct 2019 23:28:42 +0200 Subject: doc: align conditions with gossip table (#132) --- docs/conditions.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs') diff --git a/docs/conditions.md b/docs/conditions.md index 88b5733..9d9bdb1 100644 --- a/docs/conditions.md +++ b/docs/conditions.md @@ -371,8 +371,8 @@ CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET CONDITION_SOURCE_TYPE_GOSSIP_MENU 14 -gossip_menu.entry (gossip menu entry) -gossip_menu.text_id (points to npc_text.ID) +gossip_menu.MenuID +gossip_menu.TextID (points to npc_text.ID) Always 0

0 = Player
1 = WorldObject

@@ -382,8 +382,8 @@ CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION 15 -gossip_menu_option.menu_id (menu entry) -gossip_menu_option.id +gossip_menu_option.MenuID +gossip_menu_option.OptionID Always 0

0 = Player
1 = WorldObject

@@ -1156,16 +1156,16 @@ Notes: \***CONDITION\_SOURCE\_TYPE\_GOSSIP\_MENU = 14** -- - SourceGroup: gossip menu entry ([gossip\_menu.entry](http://www.azerothcore.org/wiki/gossip_menu#entry)) - - SourceEntry: gossip menu text id ([gossip\_menu.text\_id](http://www.azerothcore.org/wiki/gossip_menu#text_id)) +- - SourceGroup: gossip menu entry ([gossip\_menu.MenuID](http://www.azerothcore.org/wiki/gossip_menu#MenuID)) + - SourceEntry: gossip menu text id ([gossip\_menu.TextID](http://www.azerothcore.org/wiki/gossip_menu#TextID)) - ConditionTarget: - 0 - Player for which gossip text is shown - 1 - WorldObject providing gossip \***CONDITION\_SOURCE\_TYPE\_GOSSIP\_MENU\_OPTION = 15** -- - SourceGroup: gossip menu entry ([gossip\_menu\_option.menu\_id](http://www.azerothcore.org/wiki/gossip_menu_option#menu_id)) - - SourceEntry: gossip menu option id ([gossip\_menu\_option.id](http://www.azerothcore.org/wiki/gossip_menu_option#id)) +- - SourceGroup: gossip menu entry ([gossip\_menu\_option.MenuID](http://www.azerothcore.org/wiki/gossip_menu_option#MenuID)) + - SourceEntry: gossip menu option id ([gossip\_menu\_option.OptionID](http://www.azerothcore.org/wiki/gossip_menu_option#OptionID)) - ConditionTarget: - 0 - Player for which gossip text is shown - 1 - WorldObject providing gossip -- cgit