Changes

108 bytes added ,  06:07, 5 April 2020
Adding code reference (but also confirmed in-game)
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.  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.<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.
    
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 133: Line 133:  
==History==
 
==History==
 
*Sometime between [[Version History|v1.11]] and [[Version History|v1.3]], a bug was removed that caused the duration of buffs to decrease as the day progressed.
 
*Sometime between [[Version History|v1.11]] and [[Version History|v1.3]], a bug was removed that caused the duration of buffs to decrease as the day progressed.
 +
 +
==References==
 +
<references />
    
{{NavboxSkillsStats}}
 
{{NavboxSkillsStats}}