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 zero. 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:

1
320

∗
T
i
l
e
Q
i
∗
(
4
E
l
e
m
e
n
t
S
t
r
e
n
g
t
h
)
∗
L
i
n
g
A
b
s
o
r
b
S
p
e
e
d
0.0002
∗
M
a
x
Q
i

{\displaystyle \frac{1}{320}\*TileQi \* (4 + ElementStrength) \* LingAbsorbSpeed + 0.0002 \* MaxQi}

 in Qi / second, where:

* T
i
l
e
Q
i

{\displaystyle TileQi}

 is the ambient Qi on the tile of the cultivator
* L
i
n
g
A
b
s
o
r
b
S
p
e
e
d

{\displaystyle LingAbsorbSpeed}

 is the Qi Absorption Speed Bonus of the Cultivator
* E
l
e
m
e
n
t
S
t
r
e
n
g
t
h

{\displaystyle 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 buffs.
* During a Golden Core breakthrough, Qi Recovery is disabled (set to zero) and Qi decreases by 30 every second.

### Increasing Qi Recovery

#### Medicine

* Spirit Stone: +500% (`AddP`) Qi Absorption Speed Bonus (`LingAbsorbSpeed`) for 3 days from its Qi Resonance (cumulative with Spirit Crystal).
* Spirit Crystal: +1500% (AddP) Qi Absorption Speed Bonus (`LingAbsorbSpeed`) for 15 days from its Qi Resonance (cumulative with Spirit Stone).
* Qi Regen Pill: +2000% (AddP) Qi Absorption Speed Bonus (`LingAbsorbSpeed`) for 6 hours, cumulative with other medicines as well.

#### 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 Fire cultivator with:

* 20,422 Max Qi and a Qi sense of 2,
* using Spiritual Breath Chant
* having consumed a Spirit Stone
* 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
∗
L
i
n
g
A
b
s
o
r
b
S
p
e
e
d
∗
C
o
n
s
t
i
t
u
t
i
o
n

{\displaystyle 50 \* LingAbsorbSpeed \* Constitution}

 per second, where Constitution is the target's and

L
i
n
g
A
b
s
o
r
b
S
p
e
e
d

{\displaystyle 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
∗
C
u
l
t
i
v
a
t
i
o
n
L
e
v
e
l

{\displaystyle 5000 + 1000\*CultivationLevel}

, where

C
u
l
t
i
v
a
t
i
o
n
L
e
v
e
l

{\displaystyle 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 Faith. 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 50. 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.

### 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.

### 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

1. ↑ 1.0 1.1 `XiaWorld.LingMapData.UpdateLingUnit`
2. ↑ `XiaWorld.ToilPractice.OnEnterToil`
3. ↑ `XiaWorld.ToilBrokenNeck.OnStepToil`
4. ↑ `XiaWorld.GodPractice.Step`
5. ↑ Settings\Property\GodPraticeProperty.xml