Template:LotS/ItemSetStat: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Undo revision 83053 by Bob™ (talk))
(Undo revision 83051 by Bob™ (talk))
Line 98: Line 98:
{{#var:minproc}}
{{#var:minproc}}
|
|
{{#ifeq: maxproc|{{{2|}}}|
{{#ifeq: maxproc|{{{2|}}}| Max Proc? |


{{#vardefine:maxproc|0}}
{{#expr:  
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item1}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item1}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item1}}|LotS Item|{{{2}}}}} | 0}} | 0}} +


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item1}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item2}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item2}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item2}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item2}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item3}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item3}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item3}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item3}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item4}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item4}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item4}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item4}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item5}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item5}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item5}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item5}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item6}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item6}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item6}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item6}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item7}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item7}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item7}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item7}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item8}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item8}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item8}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item8}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item9}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item9}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item9}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item9}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item10}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item10}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item10}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item10}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item11}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item11}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item11}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item11}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item12}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item12}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item12}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item12}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item13}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item13}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item13}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item13}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item14}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item14}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item14}}|LotS Item|{{{2}}}}} | 0}} | 0}} +
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item14}}}}
{{#if: {{#varpull: {{{1}}}|LotS/ItemSet|item15}} | {{#if: {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item15}}|LotS Item|{{{2}}}}} | {{#varpull:LotS/{{#varpull: {{{1}}}|LotS/ItemSet|item15}}|LotS Item|{{{2}}}}} | 0}} | 0}}
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}


{{#vardefine:item|{{#varpull: {{{1}}}|LotS/ItemSet|item15}}}}
{{#if: {{#var:item}}|
{{#vardefine:procRate|{{#varpull:LotS/{{#var:item}}|LotS Item|procRate}}}}{{#vardefine:procDmgCap|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgCap}}}}{{#vardefine:procDmgMin|{{#varpull:LotS/{{#var:item}}|LotS Item|procDmgMin}}}}
{{#vardefine:maxproc| {{#expr: {{#var:maxproc}} + {{#if: {{#var:procRate}} | {{#expr: {{#var:procRate}} / 100 * {{#var:procDmgCap}} }} |0}} }} }}
|}}
{{#var:maxproc}}
}}  
}}  



Revision as of 06:54, 16 March 2015