Changes

179 bytes added ,  23:47, 18 November 2021
Specify and format reference
Line 2: Line 2:     
== Combining Buffs ==
 
== Combining Buffs ==
In general, buffs do not stack, but instead replace any previous buffs. More specifically, buffs from exactly one food and one drink can be active at a given time.<ref>BuffsDisplay::tryToAddFoodBuff and BuffsDisplay::tryToAddDrinkBuff</ref> Eating a food with buffs will wipe out any buffs from previously-eaten food (but not buffs from a previous drink); one drink's buffs will replace any previous drink's buffs, but have no effect on existing food buffs. Foods or drinks that have no buffs (but restore [[Health]] and [[Energy]]) can be safely consumed without any effect on active buffs.
+
In general, buffs do not stack, but instead replace any previous buffs. More specifically, buffs from exactly one food and one drink can be active at a given time, special-effect buffs being handled separately as described below.<ref name="cumulativebuffs"/> Eating a food with buffs will wipe out any buffs from previously-eaten food (but not buffs from a previous drink); one drink's buffs will replace any previous drink's buffs, but have no effect on existing food buffs. Foods or drinks that have no buffs (but restore [[Health]] and [[Energy]]) can be safely consumed without any effect on active buffs.
    
Only two buffs, namely [[Speed]] and [[Energy|Max Energy]], are available from both food and drink and can therefore be stacked:
 
Only two buffs, namely [[Speed]] and [[Energy|Max Energy]], are available from both food and drink and can therefore be stacked:
Line 181: Line 181:     
==References==
 
==References==
<references />
+
<references>
 +
  <ref name="cumulativebuffs">See <samp>BuffsDisplay::tryToAddFoodBuff</samp> and <samp>BuffsDisplay::tryToAddDrinkBuff</samp> in the game code.</ref>
 +
</references>
    
==Bugs==
 
==Bugs==
255

edits