summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/loot_template.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/loot_template.md b/docs/loot_template.md
index 190fdff..b240730 100644
--- a/docs/loot_template.md
+++ b/docs/loot_template.md
@@ -18,11 +18,11 @@ Loot templates define only items in the loot. See comments about money drop in c
| ------------------- | ------------------ | ---- | --- | ------- | ----- | ------- |
| [Entry][1] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | |
| [Item][2] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | |
-| [Reference][3] | MEDIUMINT UNSIGNED | NO | | 0 | | |
+| [Reference][3] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | |
| [Chance][4] | FLOAT | NO | | 100 | | |
| [QuestRequired][5] | bool | NO | | 0 | | |
| [LootMode][6] | SMALLINT | NO | | 1 | | |
-| [GroupId][7] | TINYINT | NO | | 0 | | |
+| [GroupId][7] | TINYINT | NO | PRI | 0 | | |
| [MinCount][8] | MEDIUMINT | NO | | 1 | | |
| [MaxCount][9] | TINYINT UNSIGNED | NO | | 1 | | |
| [Comment][10] | VARCHAR | | | | | |
@@ -76,8 +76,6 @@ Agreements on **Entry** field values are described [there](#agreements).
Template ID of the item which can be included into the loot.
-NOTE: For [reference entries](#mincountorref) this field has no meaning and not used by the core in any way. Yet because of the PRIMARY KEY on the entry + item combination, this field will nonetheless need to be a unique number for each reference entry so that no indexing conflicts arise.
-
### Reference
Template reference asks core to process another loot templateĀ and to include all items dropped for that template into current loot. Simple idea.