Changes

Added more obtain methods w/ references. Moved the table + details to a separate "Stats" section. Labeled section to transclude table to Anvil page later. Moved other info around.
Line 6: Line 6:  
|value      = {{price|1000}}
 
|value      = {{price|1000}}
 
}}
 
}}
The '''Fairy Box''' is a [[Trinkets|trinket]] item dropped by enemies.
+
The '''Fairy Box''' is a [[Trinkets|trinket]] item that can be obtained by slaying [[monsters]] or breaking [[The Mines#Crates and Barrels|crates and barrels]] in [[the Mines]], [[Skull Cavern]], or [[Volcano Dungeon]]. Drop chances from both methods are affected by [[Luck#Daily Luck|daily luck]] and [[Luck#Luck Buffs|luck buffs]], among other factors. The [[Burglar's Ring]] and [[Monster Compendium]] do not impact the chance to obtain it from monsters.<ref name="tryspawntrinket" /> There is also a ~0.6% chance to obtain a Fairy Box from a [[Skull Cavern#Treasure Rooms|treasure chest]] in the [[Skull Cavern]].<ref name="treasureroom" />
   −
Equipping the Fairy Box in the trinket slot causes a fairy to spawn and follow the player around. While in combat it occasionally heals the player. The exact amount healed is the cube root of all damage dealt or received by the player since they were last healed by the fairy (up to a maximum of 10% of the player's maximum health), multiplied by the fairy's "Healing Power", plus or minus 25% of that total.<ref name="fairyHealing"/>
+
Equipping the Fairy Box in the trinket slot causes a fairy to spawn and follow the player around. It occasionally heals the player during combat. The frequency and amount of [[health]] regained depend on the fairy's level, which ranges from 1 to 5.
   −
The Fairy Box has a random level between 1 and 5 when dropped, and it can be changed to a random level if reforged using an [[Anvil]]. Higher level fairies heal more frequently and have greater "Healing Power".
+
The fairy may be one of eight possible visual styles, which are unrelated to its level and cannot be changed by the [[Anvil]]. It sheds light in a radius of about 1 tile.
 
  −
The fairy may be one of eight possible visual styles, which are unrelated to its level and cannot be changed by the Anvil.
      
[[File:Fairy Box Colors.png|thumb|All possible fairy styles.]]
 
[[File:Fairy Box Colors.png|thumb|All possible fairy styles.]]
   −
The fairy sheds light in a radius of about 1 tile.
+
==Stats==
 
+
The Fairy Box has a random level between 1 and 5 when dropped, and it can be changed to a random level if reforged using an [[Anvil]]. Higher level fairies heal more frequently and have greater "Healing Power". The exact amount healed is the cube root of all damage dealt or received by the player since they were last healed by the fairy (up to a maximum of 10% of the player's maximum health), multiplied by the fairy's "Healing Power", plus or minus 25% of that total.<ref name="fairyHealing"/>
 +
<section begin="levelchance" /><!-- Transcluded onto Anvil page -->
 
{|class="wikitable"
 
{|class="wikitable"
 
! Fairy Level
 
! Fairy Level
Line 33: Line 32:  
|-
 
|-
 
|5||3.5 seconds||120%||2.44%
 
|5||3.5 seconds||120%||2.44%
|}
+
|}<section end="levelchance" />
    
==Gifting==
 
==Gifting==
Line 49: Line 48:  
     <ref name="fairyHealing">See <samp>FairyBoxTrinketEffect::Update</samp> in the game code.</ref>
 
     <ref name="fairyHealing">See <samp>FairyBoxTrinketEffect::Update</samp> in the game code.</ref>
 
     <ref name="fairyLevels">See <samp>FairyBoxTrinketEffect::GenerateRandomStats</samp> in the game code.</ref>
 
     <ref name="fairyLevels">See <samp>FairyBoxTrinketEffect::GenerateRandomStats</samp> in the game code.</ref>
 +
    <ref name="tryspawntrinket">See <samp>Trinket::TrySpawnTrinket</samp>, <samp>GameLocation::monsterDrop</samp>, and <samp>BreakableContainer::releaseContents</samp> in the game code.</ref>
 +
    <ref name="treasureroom">See <samp>MineShaft::getTreasureRoomItem</samp> in the game code.</ref>
 
</references>
 
</references>
  
992

edits