Template:DropTable/append/function: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_attach:_table=DropTables}}</noinclude><includeonly>{{#cargo_store:_table=DropTables
<includeonly>{{DropTable/row
  |TableName={{#ifeq:{{#invoke:LuaVar|var|name=Source}}|Source is undefined.|{{PAGENAME}}|{{#invoke:LuaVar|var|name=Source}}}}, {{{tablename|Error}}}
|rectier={{{rectier|}}}
  |TableType={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}}}}
|itemtype={{{itemtype|Item}}}
  |DropSourceEntity={{#invoke:LuaVar|var|name=Source}}
|item={{{item|}}}
  |DropImage={{{image|}}}
|special={{{special|}}}
  |DropItem={{{item|}}}
|quantity={{{quantity|}}}
  |ItemType={{{itemtype|Item}}}
|droprate={{#expr:{{#invoke:LuaVar|var|name=AppendRate}} * {{{subrate|0}}}}}
  |DropQuantity={{{quantity|}}}
|tabletype={{{tabletype|Rare}}}
  |DropRate={{#expr:{{#invoke:LuaVar|var|name=AppendRate}} * {{{subrate|0}}}}}
}}</includeonly>
  |SpecialSource={{{special|}}}
}}{{DropTable/row|image={{{image|}}}|itemtype={{{itemtype|Item}}}|item={{{item|}}}|special={{{special|}}}|quantity={{{quantity|}}}|droprate={{#expr:{{#invoke:LuaVar|var|name=AppendRate}} * {{{subrate|0}}}}}|tabletype={{{tabletype|{{#switch:{{#sub:{{{1|{{{appendsource|}}}}}}|0|9}}|DropTable=Rare|SuperDrop=Mega|#default=Base}}}}}}}</includeonly>

Latest revision as of 06:26, 25 March 2024