Template:BG Food: Difference between revisions

added negative health and negative health regeneration
m (Consumable Buffs display bug fix)
(added negative health and negative health regeneration)
Line 66: Line 66:
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Status effects :&nbsp;</b></td><td>{{#if: {{{buff_1|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_1}}}]] ({{{bufftime_1|0}}}s)</p>|}}{{#if: {{{buff_2|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_2}}}]] ({{{bufftime_2|0}}}s)</p>|}}{{#if: {{{buff_3|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_3}}}]] ({{{bufftime_3|0}}}s)</p>|}}{{#if: {{{buff_4|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_4}}}]] ({{{bufftime_4|0}}}s)</p>|}}{{#if: {{{buff_5|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_5}}}]] ({{{bufftime_5|0}}}s)</p>|}}{{#if: {{{buff_6|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_6}}}]] ({{{bufftime_6|0}}}s)</p>|}}</td></tr>
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Status effects :&nbsp;</b></td><td>{{#if: {{{buff_1|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_1}}}]] ({{{bufftime_1|0}}}s)</p>|}}{{#if: {{{buff_2|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_2}}}]] ({{{bufftime_2|0}}}s)</p>|}}{{#if: {{{buff_3|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_3}}}]] ({{{bufftime_3|0}}}s)</p>|}}{{#if: {{{buff_4|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_4}}}]] ({{{bufftime_4|0}}}s)</p>|}}{{#if: {{{buff_5|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_5}}}]] ({{{bufftime_5|0}}}s)</p>|}}{{#if: {{{buff_6|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_6}}}]] ({{{bufftime_6|0}}}s)</p>|}}</td></tr>
}}{{#if:
}}{{#if:
   {{{hunger|}}}{{{health|}}}{{{health_reg|}}}{{{healing_rcv|}}}{{{mg_reduction|}}}{{{defense|}}}{{{block_rating|}}}{{{block_power|}}}{{{block_cd_reduct|}}}{{{weapon_dmg|}}}{{{projectile_dmg|}}}{{{haumaturgy_dmg|}}}{{{magic_dmg|}}}{{{plus_spd|}}}{{{minus_spd|}}}{{{plus_threat|}}}{{{minus_threat|}}}
   {{{hunger|}}}{{{health|}}}{{{minus_health|}}}{{{health_reg|}}}{{{minus_health_reg|}}}{{{healing_rcv|}}}{{{mg_reduction|}}}{{{defense|}}}{{{block_rating|}}}{{{block_power|}}}{{{block_cd_reduct|}}}{{{weapon_dmg|}}}{{{projectile_dmg|}}}{{{haumaturgy_dmg|}}}{{{magic_dmg|}}}{{{plus_spd|}}}{{{minus_spd|}}}{{{plus_threat|}}}{{{minus_threat|}}}
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Consumable Buffs :</b></td><td>
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Consumable Buffs :</b></td><td>
}}{{#if:
}}{{#if:
Line 74: Line 74:
   {{{health|}}}
   {{{health|}}}
   |<tr><td style="vertical-align:top">❤&nbsp;<b>Health:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{health}}}</span> for <span style="color:#aba99f;">{{{health_time}}}</span>s</td></tr> |
   |<tr><td style="vertical-align:top">❤&nbsp;<b>Health:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{health}}}</span> for <span style="color:#aba99f;">{{{health_time}}}</span>s</td></tr> |
}}{{#if:
  {{{minus_health|}}}
  |<tr><td style="vertical-align:top">❤&nbsp;<b>Health:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{minus_health}}}</span> for <span style="color:#aba99f;">{{{minus_health_time}}}</span>s</td></tr> |
}}{{#if:
}}{{#if:
   {{{health_reg|}}}
   {{{health_reg|}}}
   |<tr><td style="vertical-align:top">❤&nbsp;<b>Health&nbsp;Regeneration:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{health_reg}}}</span> for <span style="color:#aba99f;">{{{health_reg_time}}}</span>s</td></tr> |
   |<tr><td style="vertical-align:top">❤&nbsp;<b>Health&nbsp;Regeneration:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{health_reg}}}</span> for <span style="color:#aba99f;">{{{health_reg_time}}}</span>s</td></tr> |
}}{{#if:
  {{{minus_health_reg|}}}
  |<tr><td style="vertical-align:top">❤&nbsp;<b>Health&nbsp;Regeneration:</b></td><td style="white-space:nowrap"><span style="color:red;">-{{{minus_health_reg}}}</span> for <span style="color:#aba99f;">{{{minus_health_reg_time}}}</span>s</td></tr> |
}}{{#if:
}}{{#if:
   {{{healing_rcv|}}}
   {{{healing_rcv|}}}