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

Материал из Star Conflict Wiki
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
<includeonly>
<includeonly>
 
{{#expr: ({{{{{#if: {{{hull_max_syn10|}}} | {{{hull_max_syn10}}} | {{#if: {{{hull_max_syn9|}}} | {{{hull_max_syn9}}} | {{#if: {{{hull_max_syn8|}}} | {{{hull_max_syn8}}} | {{#if: {{{hull_max_syn7|}}} | {{{hull_max_syn7}}} | {{#if: {{{hull_max_syn6|}}} | {{{hull_max_syn6}}} | {{#if: {{{hull_max_syn5|}}} | {{{hull_max_syn5}}} | {{#if: {{{hull_max_syn4|}}} | {{{hull_max_syn4}}} | {{#if: {{{hull_max_syn3|}}} | {{{hull_max_syn3}}} | {{#if: {{{hull_max_syn2|}}} | {{{hull_max_syn2}}} | {{#if: {{{hull_max_syn1|}}} | {{{hull_max_syn1}}} | empty }} }} }} }} }} }} }} }} }} }}}}}*(1/{{#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 }}))+({{{{{#if: {{{shield_max_syn10|}}} | {{{shield_max_syn10}}} | {{#if: {{{shield_max_syn9|}}} | {{{shield_max_syn9}}} | {{#if: {{{shield_max_syn8|}}} | {{{shield_max_syn8}}} | {{#if: {{{shield_max_syn7|}}} | {{{shield_max_syn7}}} | {{#if: {{{shield_max_syn6|}}} | {{{shield_max_syn6}}} | {{#if: {{{shield_max_syn5|}}} | {{{shield_max_syn5}}} | {{#if: {{{shield_max_syn4|}}} | {{{shield_max_syn4}}} | {{#if: {{{shield_max_syn3|}}} | {{{shield_max_syn3}}} | {{#if: {{{shield_max_syn2|}}} | {{{shield_max_syn2}}} | {{#if: {{{shield_max_syn1|}}} | {{{shield_max_syn1}}} | empty }} }} }} }} }} }} }} }} }} }}}}}*(1/{{#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 }})) round 0 }}
{{#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 ) }} }}
 
{{#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 ) }} }}
 
<!-- 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 }}
 
 
'''{{#expr: ({{{hull}}}*(1/{{#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 }}))+({{{shield}}}*(1/{{#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 }})) round 0 }}'''
 
 
 
 
</includeonly>
</includeonly>

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