Template:RareDropTable/append: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
-->{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|{{{chance|}}}}}}}}<!-- | -->{{#invoke:LuaVar|varDefine|name=AppendRate|value={{{2|{{{chance|}}}}}}}}<!-- | ||
-->{{#invoke:LuaVar|varDefine|name=Source|value={{{source|{{PAGENAME}}}}}}}<!-- | -->{{#invoke:LuaVar|varDefine|name=Source|value={{{source|{{PAGENAME}}}}}}}<!-- | ||
-->{{ | -->{{RareDropTable|tabletype={{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Rare}}|source={{{source|{{PAGENAME}}}}}|item={{{1|{{{appendsource|}}}}}}|quantity={{{3|1}}}|itemtype=Divider|dropchance={{{2|{{{chance|0}}}}}}}}<!-- | ||
-->{{#cargo_query:tables=RareDropTables | -->{{#cargo_query:tables=RareDropTables | ||
|fields= | |fields=TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, RecipeTier=rectier, SpecialSource=special | ||
|where=DropSourceEntity="{{{1|{{{appendsource|}}}}}}" | |where=DropSourceEntity="{{{1|{{{appendsource|}}}}}}" | ||
|format=template | |format=template |