Template:DropTable/append: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(17 intermediate revisions by 2 users 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}}}}}}}<!--
-->{{#DropTable|tabletype={{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}|dropitem={{{1|{{{appendsource|}}}}}}|itemtype=Divider}}
-->{{MainDrops|{{{1|{{{appendsource|}}}}}}|{{{source|{{PAGENAME}}}}}|{{{2|{{{chance|}}}}}}|{{{3|1}}}}}<!--
{{#cargo_query:tables=DropTables
-->{{DropTable/separator|rarity=rare|chance={{{2|{{{chance|}}}}}}|{{{1|{{{appendsource|}}}}}}|rolls={{{3|1}}}}}<!--
|fields=TableName=tablename, TableType=tabletype, DropItem=item, DropQuantity=quantity, ItemType=itemtype, DropRate=subrate, DropImage=image, SpecialSource=special
-->{{#cargo_query:tables=RareDropTables
|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
|template=DropTable
|template=DropTable/append/function
|named args=yes
|named args=yes
|default=
|default=
|order by=_ID
|order by=_ID
}}</includeonly>
}}<!--
-->{{#invoke:LuaVar|varDefine|name=Append|value=Append is undefined.}}</includeonly>

Latest revision as of 04:26, 28 March 2024