|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
05.01.2024, 18:16 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
Add reference support for grouped loot tables.
Автор: cyberium
Add reference support for grouped loot tables.Now, grouped reference_loot_template entries can also reference other reference loot lists.This enhancement may simplifies certain redundant loot tables.Grouped loot refers to items where the ***39;groupId***39; in the ***39;*_loot_template***39; is greater than 0.INSERT INTO `reference_loot_template`(`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES(35040, 13955, 0, 1, 1 , 1, 0, ***39;Stoneform Shoulders***39;),(35040, 13983, 0, 1, 1 , 1, 0, ***39;Gravestone War Axe***39;),(35040, 14024, 0, 1, 1 , 1, 0, ***39;Frightalon***39;),(35040, 16734, 0, 1, 1 , 1, 0, ***39;Boots of Valor***39;),(35040, 60294, 0, 1, -60294, 1, 0, ***39;NPC LOOT (Green World Drop) - (Item Levels: 59-63) - (NPC Levels: 60) - VANILLA NPC ONLY***39;);For example, the provided SQL INSERT INTO statement demonstrates a reference_loot_template entry (entry: 35040) with several items.This entry can be referenced in any loot table, and the outcome will be as follows: - Only one item from the list will be chosen. - The last line, which is a reference, will be treated with the same chance as any other item (considered an equally chanced group). - The rules for referenced items with entry 60294 can be customized, resulting in one or multiple items. Подробнее... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Add cyclic detection for loot reference | newsbot | CMaNGOS Commits | 0 | 05.01.2024 18:16 |
[c12730] Loot-System: Fix reference loading check | newsbot | CMaNGOS-4.3.4 Commits | 0 | 19.08.2013 18:11 |
[12535] Loot-System: Fix reference loading check | newsbot | CMaNGOS Commits | 0 | 11.08.2013 13:40 |
[11999.5] Support loading tables with default filling into SQL-Loader | newsbot | CMaNGOS Commits | 0 | 13.06.2012 02:02 |
[10307] Rename two tables to prefix scripted_, making the tables have consistent names | newsbot | CMaNGOS Commits | 0 | 02.08.2010 01:15 |