Template:DropTable/append: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo 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}}}}}}}<!-- | ||
-->{{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}}}}}}}}<!-- | -->{{#ifeq:{{#pos:{{PAGENAME}}|DropTable}}| ||{{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=RareDropTables | -->{{#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 |