Template:DropTable/append: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
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}}}}}}}<!-- | ||
-->{{#cargo_query:tables=DropTables | -->{{#DropTable|tabletype={{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}|dropitem={{{1|{{{appendsource|}}}}}}|itemtype=Divider}} | ||
{{#cargo_query:tables=DropTables | |||
|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|}}}}}}" |