Template:DropTable/append: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:LuaVar|varDefine|name= | <includeonly>{{#invoke:LuaVar|varDefine|name=Append|value=Yes}}<!-- | ||
{{#invoke:LuaVar|varDefine|name= | -->{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|{{{chance|}}}}}}}}<!-- | ||
{{ | -->{{#invoke:LuaVar|varDefine|name=Source|value={{{source|{{PAGENAME}}}}}}}<!-- | ||
{{#cargo_query:tables= | -->{{MainDrops|{{{1|{{{appendsource|}}}}}}|{{{source|{{PAGENAME}}}}}|{{{2|{{{chance|}}}}}}|{{{3|1}}}}}<!-- | ||
|fields= | -->{{DropTable/separator|rarity=rare|chance={{{2|{{{chance|}}}}}}|{{{1|{{{appendsource|}}}}}}|rolls={{{3|1}}}}}<!-- | ||
|where=DropSourceEntity="{{{1|}}}" | -->{{#cargo_query:tables=RareDropTables | ||
|fields=TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, RecipeTier=rectier, SpecialSource=special | |||
|where=DropSourceEntity="{{{1|{{{appendsource|}}}}}}" | |||
|format=template | |format=template | ||
|template=DropTable | |template=DropTable/append/function | ||
|named args=yes | |named args=yes | ||
|default= | |default= | ||
|order by=_ID | |order by=_ID | ||
}} | }}<!-- | ||
-->{{#invoke:LuaVar|varDefine|name=Append|value=Append is undefined.}}</includeonly> |