Template:LotS Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Apparently that didn't even work.)
(Attempt to fix some bad property issues with SMW on certain pages)
Line 53: Line 53:


<includeonly>
<includeonly>
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
{{#if:{{{attack|}}}|
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}|}}
{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}
{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}


{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}}}}}}
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}}}}}}
Line 62: Line 63:
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }}
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }}
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
{{#set:stamina={{{stamina|}}}}}
|}}
{{#set:energy={{{energy|}}}}}
 
{{#set:honor={{{honor|}}}}}
{{#set:stamina={{{stamina|0}}}}}
{{#set:pvp={{{pvp|}}}}}
{{#set:energy={{{energy|0}}}}}
{{#set:health={{{health|}}}}}
{{#set:honor={{{honor|0}}}}}
{{#set:pvp={{{pvp|0}}}}}
{{#set:health={{{health|0}}}}}
{{#set:color={{{color|}}}}}
{{#set:color={{{color|}}}}}
{{#set:ability={{{ability|}}}}}
{{#set:ability={{{ability|}}}}}

Revision as of 16:52, 19 May 2015

Item Navigation
Main Hand | Off Hand | Helmet | Chest | Gloves | Pants | Boots | Trinkets | Utilities | Fusion
Tactics | Consumables | Ships | Officers | Crew | Sidekicks | Engineering | Best Items | Home


[[[name::{{{name}}}]] [[:Category:LotS/[[type::{{{type}}}]]|[[type::{{{type}}}]]]]
[[File:LotS_{{{name}}}.png|{{{name}}}]]