Jump to content
TrinityCore

Question about loot_template reference


Magnuss
 Share

Recommended Posts

 

In the wiki the field Reference is descripted as follows:

Template reference asks core to process another loot template and to include all items dropped for that template into current loot.

But another loot template from where ? From the same table or from reference_loot_template table ? To which one is it linked ?

 

Link to comment
Share on other sites

If references points to reference_loot_template ONLY than the SQL example above can't be declared as an example of a self-reference.

Inserting 21215 in field reference in creature_loot_template than would (as I understand you) point to reference_loot_template. Where is the self-reference ?

Selfreferencing can be IMHO done only inside reference_loot_template.

In the other loot_template tables the worst thing you can do is making a loop.

So I think the wiki text isn't correct and describe the situation last year before changing a lot of stuff in loot tables.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...