Шаблон:Выживаемость: различия между версиями

Материал из Star Conflict Wiki
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 12: Строка 12:


{{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }}
{{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }}
<!-- average value -->
{{#expr: (({{#ifexpr: {{{hull_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{hull_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_emp}}} / 100 ) }} }})+(
{{#ifexpr: {{{hull_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_thermal}}} / 100 ) }} }}))/3 }}
{{#expr: (({{#ifexpr: {{{shield_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_emp}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }}))/3 }}


</includeonly>
</includeonly>

Версия от 15:00, 23 сентября 2015