Discovered a niche but very interesting trick in the database today.
I wanted to spawn the Adept's Didem with random caster skills as affixes, so I created a table that did that.
Then I copied the unique caster helm tables and made master tables by the name of the originals. So like casterhelm_e01.dbr is now a master table and casterhelm_e01_static.dbr is the original.
In the master table I added the new static table and the table that spawns the Adept's Diadem with affixes.
Here's the trick:
In the loottables/head/mastertables/uniques/ is a file called "headall_eo1.dbr" that is a master table. It includes the melee and caster helm table reference. However, my new caster helm master table is in there now.
So I tested it in game and gave unique helms from the "head_all" master tables to all the Maenads in Knossos Epic.
Sure enough, the "headall" master table points to the "helmcaster" master table that points to the "helmcaster_static" & Adept's Didem loot tables and it works.
Master loot tables CAN POINT TO OTHER MASTER LOOT TABLES.
Verified.