Template:DropTable/append: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
-->{{#invoke:LuaVar|varDefine|name=Source|value={{{source|{{PAGENAME}}}}}}}<!-- | -->{{#invoke:LuaVar|varDefine|name=Source|value={{{source|{{PAGENAME}}}}}}}<!-- | ||
-->{{DropTable|tablename={{{1|{{{appendsource|}}}}}}|tabletype={{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}|source={{{source|{{PAGENAME}}}}}|item={{{1|{{{appendsource|}}}}}}|quantity={{{3|1}}}|itemtype=Divider|dropchance={{{2|{{{chance|0}}}}}}}}<!-- | -->{{DropTable|tablename={{{1|{{{appendsource|}}}}}}|tabletype={{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}|source={{{source|{{PAGENAME}}}}}|item={{{1|{{{appendsource|}}}}}}|quantity={{{3|1}}}|itemtype=Divider|dropchance={{{2|{{{chance|0}}}}}}}}<!-- | ||
-->{{#cargo_query:tables= | -->{{#cargo_query:tables=RareDropTables | ||
|fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, DropImage=image, SpecialSource=special | |fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, DropImage=image, SpecialSource=special | ||
|where=DropSourceEntity="{{{1|{{{appendsource|}}}}}}" | |where=DropSourceEntity="{{{1|{{{appendsource|}}}}}}" |