diff options
| author | tkrokli <tkrokli@hotmail.com> | 2016-09-13 06:33:05 +0200 |
|---|---|---|
| committer | tkrokli <tkrokli@hotmail.com> | 2016-09-13 06:36:32 +0200 |
| commit | 9d7cd93e0da110546c5a572096773901c54c7f2b (patch) | |
| tree | 40b5a65fc3f7240477cda00ad41772ebc49fce4f | |
| parent | acc0f33c59725b26da1d5c186ee08412e939a9f4 (diff) | |
DB/conditions: add condition Pet Type to Pet Trainers gossip
Use ConditionTypeOrReference 45 (PetType in PetDefines.h):
- Show gossip menu 4783 option id 1 if Pet Type is hunter pet
( follow-up to PR #17746 / commit 03bafe3 )
| -rw-r--r-- | sql/updates/world/3.3.5/2016_09_13_04_world.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_09_13_04_world.sql b/sql/updates/world/3.3.5/2016_09_13_04_world.sql new file mode 100644 index 00000000000..dfe1a52f514 --- /dev/null +++ b/sql/updates/world/3.3.5/2016_09_13_04_world.sql @@ -0,0 +1,4 @@ +-- Condition for Pet Trainer gossip menu option, condition type PetType +DELETE FROM `conditions` WHERE `ConditionTypeOrReference`= 45 AND `SourceGroup`= 4783 AND `SourceEntry`= 1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,4783,1,0,0,45,0,2,0,0,0,0,0, '','Show gossip menu 4783 option id 1 if Pet Type is hunter pet.'); |
