Qi Recovery

Qi Recovery is the speed at which a Character regenerates Qi. It applies to Xiandao and Shendao characters. Body Cultivators instead use the True Qi Recovery Rate. 
It should not be confused with Qi Absorption, which refers to obtaining Food and Water passively without eating or drinking, uses the similarly named Qi Absorption Efficiency Property and is completely unrelated to Qi Recovery. 
== Xiandao Qi Recovery ==
===Base Qi Recovery Calculation===
Qi Recovery depends on the Qi Absorption Speed Bonus (LingAbsorbSpeed) Property, as well as the Max Qi and ambient conditions. This can be increased or decreased in various ways. A Xiandao cultivator cannot recover Qi if the ambient Qi level is zeroXiaWorld.LingMapData.UpdateLingUnit. Qi Absorption Speed Bonus may also be referred to as "Qi Recovery Rate" by the Numeric Descriptions Mod.
Assuming the Xiandao is not cultivating, and the Qi on tile is not 0, the recovery is calculated as follows: \frac{1}{320}*TileQi * (4 + ElementStrength) * LingAbsorbSpeed + 0.0002 * MaxQi in Qi / second, where:
*
* TileQi is the ambient Qi on the tile of the cultivator
* LingAbsorbSpeed is the Qi Absorption Speed Bonus of the Cultivator
* ElementStrength is the Element Strength of the tile, in the cultivator's element, varying between -2 and 2.
===Exceptions===
*When cultivating, Qi Recovery is set to 1x, disabling all Qi Recovery buffsXiaWorld.ToilPractice.OnEnterToil.
*During a Golden Core breakthrough, Qi Recovery is disabled (set to zero) and Qi decreases by 30 every secondXiaWorld.ToilBrokenNeck.OnStepToil.
===Increasing Qi Recovery===
====Medicine====
*: +500% (AddP) Qi Absorption Speed Bonus (LingAbsorbSpeed) for 3 days from its Qi Resonance (cumulative with Spirit Crystal).
*: +1500% (AddP) Qi Absorption Speed Bonus (LingAbsorbSpeed) for 15 days from its Qi Resonance (cumulative with Spirit Stone).
*: +2000% (AddP) Qi Absorption Speed Bonus (LingAbsorbSpeed) for 6 hours, cumulative with other medicines as well.
==== Manuals====
Name 	Law 	Requirement 	Effect 	Notes
Reformed Lifeblood 	Heaven Stealing Law 	Qi Shaping 	+1200% (AddP) 	Also damages heart.
Flying Creek 	N/A 	Qi Shaping 	+600% (AddP) 	Obtained from Skypass Falls adventure
N/A 	N/A 	Qi Shaping 	+10% base (BAddP)	Possible Fortuitous Encounter on the Snowfield outcome
Unity Chant 	Six Paths Reincarnation Law	Core Shaping 	+400% (AddP) 	
Chant of the Rapids	Sixteen Supreme Steps Law 	Golden Core 	+800% (AddP) 	
Primordial Embryo 	Jade Purity Immortal Law 	Primordial Spirit	+2500% (AddP) 	
====Miracles====
*Qi Aquasphere launches a weather that increases Qi Absorption Speed Bonus by +1500% (AddP).
*Spiritual Breath Chant increases Qi Recovery by +2000% (AddP) for its duration.
===Example===
A cultivator with:
*20,422 Max Qi and a Qi sense of 2,
*using Spiritual Breath Chant
*having consumed a 
*on a tile with 397 Qi
*and a Fire element Strength of 1.176
would have a qi recovery of:
 397 [TileQi] * (4 + 1.176 [ElementStrength] ) * ( 0.5 + 0.05 * 2 [QiSense]) * (1 + 5 [Spirit Stone] + 20 [Spiritual Breath Chant]) / 320 + 0.0002 * 20422 [MaxQi] = 104.20 Qi/s
=== Alternative Qi Recovery Miracles ===
A few miracles can increase Qi, most notably One with Mountain and Palm of Absorption.
*Way of the Reaper increases Qi by 50 * LingAbsorbSpeed * Constitution per second, where Constitution is the target's and LingAbsorbSpeed is the user's Qi Recovery.
*One with Mountain and Palm of Absorption regenerate the sum of 1% of the target's Qi and the 1% of the user's Max Qi, as long as the item has more than 1 Qi. Ignores Qi Recovery.
*Refine Body increases Qi by 5000 + 1000*CultivationLevel, where CultivationLevel is the target's Cultivation Level.
==Shendao Qi Recovery==
Qi Recovery depends on the undocumented GodPractice_LingConvert property and a Shendao cultivator's Max Qi. Unlike Xiandao cultivators who recover Qi from ambient sources and require no resources, Shendao cultivators recover Qi from their Faith. 
A Shendao cultivator can recover up to 1% of their Max Qi every second, as long as they have enough FaithXiaWorld.GodPractice.Step. This makes them recover Qi much more quickly in most cases, making them effective "Qi Batteries" for Formations.
When recovering Qi, Shendao cultivators consume Faith based on their GodPractice_LingConvert Property, which defaults to 50Settings\Property\GodPraticeProperty.xml. This number is the points of Qi regenerated for each point of Faith consumed, meaning that a Shendao cultivator consumes 20,000 Faith to restore 1 million Qi. 
==Immediate Recovery==
Some items, mostly Medicines and Pills and Battle Spells directly recover Qi when consumed or used.
====Items====
You should be wary of the Qi Overflow threshold. For practicality, the Max Qi threshold indicated is the one where your cultivator won't suffer any injury.
Name	Qi 	Threshold
 	500 	358
 	3,000 	2,143
 	10,000 	7,143
 	20,000 	14,286
 	200,000 	142,857
 	300,000 	214,286
 	500,000 	357,143
 	500,000 	357,143
 	500,000 	357,143
 	500,000 	357,143
 	500,000 	357,143
 	500,000 	357,143
 	1,000,000	714,286
 	1,000,000	714,286
 	1,000,000	714,286
 	1,000,000	714,286
 	1,000,000	714,286
DLC 	500 	358
DLC 	1,000 	714
DLC 	10,000 	7,143
===Battle Spells===
You need to be in battle to use those, which can easily be triggered by temporarily attacking random Buildings. The number indicated is the base power of the spell, multiplied by the caster's Spell power bonus.
Name 	Law	Obtainment 	Cost 	CD 	Power	Target 	Power/CD
Recovery Skill 	 	Unorthodox Spell Manual 	100 	120 	100 	Variable 	0.83
Heavenly Panacea 	 	Sixteen Supreme Steps Law 	700 	120 	400 	All Allies 	3.33
Arcane Infusion 	 	Exclusive Manual 	600 	1,200	1,200	All Allies 	1
Vitality Chant 	 	Jade Purity Immortal Law 	500 	45 	1,000	Self 	22.2
Reversa Cycle 	 	Six Paths Reincarnation Law	200 	180 	3,000	Self 	16.67
Reversa Cycle - Secret	 	Exclusive Manual 	200 	180 	3,000	Lowest Qi Ally 	16.67
Chant of Luxuriance 	 	Guard Flower Spirit Xiang 	500 	45 	800 	Self 	17.78
Tranquility 	 	Guard Kinnara Yue 	700 	120 	250 	All Allies 	2.08
Chant of Devotion 	 	Protection >= 80 	1,500	180 	3,000	Ally except Self 	16.67
Dark Wave 	DLC	Justice >= 0 	240 	40 	240 	Ally except Self, Affects within 3 Range around target	6
=== Adventures ===
The Adventure Story_2 as well as Fortuitous Encounter on the Snowfield Story_Cold recovers 100% of the adventurer's Qi when choosing the "Aborb Qi" option. However, as cultivators lose between 10 and 30% of the Max Qi when returning from an adventure and neither adventures have a high chance to trigger, it's not a particularly efficient way to recover Qi.
==References==