Immortal's Mortal Body

The Ascended Demigod Statue for Xiandao Cultivators. It is spawned after ascending a Xiandao cultivator, and has three production options (rituals) to generate Incense/Faith (same resource with different names). The Incense is used as a resource for casting special abilities. The counterpart to Shendao Cultivators Deity's Body.

Destroying or demolishing a Immortal's Mortal Body will always drop 1 Divine Bones.

Immortal's Mortal Body will always be a Feng Shui Building of the same element as the Cultivator's Law, with Qi Gathering. The IMB from a cultivator practicing a Non-elemental Law will always be Auspicious (like a Spirit Stone Block building) and will not emit any element, but still has Qi Gathering.

The name of the Building will contain the name of the Cultivator who ascended. The Image/Model of the building is the Cultivator at time of Ascension. The Building can be relocated. Immortal's Mortal Body is often abbreviated to IMB.

## Production

### Rituals

Immortal's Mortal Body has three Production Options to generate Incense/Faith. This is performed by Outer Disciples, counts as a Crafting task, and uses a variety of items:

* Morality Ritual
	+ A basic ritual, with a relatively simple process. Generates 1 Faith. Additional Faith can be generated by using high-level food as offerings in the ritual.
		- Cost of 9 Spirit Crystals
		- Additional Cost of 9 Food Items
* Elements Ritual
	+ Medium-level ritual, which requires the usage of some artifacts. Generates 4 Faith. Additional Faith can be generated by using high-level food as offerings in the ritual.
		- Cost of 25 Spirit Crystals
		- Additional Cost of 25 Food Items
* Harmony Ritual
	+ Ritual of the highest level, it requires sophisticated artifacts and extended prayers. Generates 9 Faith. Additional Faith can be generated by using high-level food as offerings in the ritual.
		- Cost of 49 Spirit Crystals
		- Additional Cost of 49 Food Items

As a Crafting task, the Crafting Speed scales with the Immortal's Mortal Body Feng Shui.

### Formula

The incense generated is

B
a
s
e
F
a
i
t
h
∗
(
1
0.05
∗
F
o
o
d
I
t
e
m
M
a
t
e
r
i
a
l
T
i
e
r
)

{\displaystyle BaseFaith\*(1+ 0.05 \* FoodItemMaterialTier)}

, where the

F
o
o
d
I
t
e
m
M
a
t
e
r
i
a
l
T
i
e
r

{\displaystyle FoodItemMaterialTier}

 is

T
i
e
r
1

{\displaystyle Tier + 1}

 for Simple Meal, Fine Meal and Lavish Meal, and 0 for any other food. It is not rounded. For example, an Elements Ritual (4 Base Faith) using Lavish Meal (T5) would generate:

```
4 [Spirit Crystal] * (1 + 0.05 * (5 [Lavish Meal Tier] + 1)) = 5.2 incense

```

The possible options are:

## Special Abilities

The special abilities of an Immortal's Mortal Body come from the Skill Attribute of a Xiandao Law, which grants a special ability that can be cast at the statue. A single Law can have multiple Skill attributes assigned to it, Wild Laws/Unorthodox Laws/Generated Laws aren't generated with the Skill attribute.

### Exorcise (`chumo`) - 49 Incense

Summons the Ascended Demigod to the sect for a day, where they can be used for combat. The Ascended Demigod has the same stats and spells from before the ascension, but is invulnerable to attacks.

### Give Lecture / Land (`jiangdao`) - 49 Incense

Summons the Ascended Demigod to the sect for a day to give a lecture to all cultivators, where they can receive 50 Base Inspiration per second.

### Bestow (`ciqi`) - 25 Incense

Grants the item Gift of the Master, which can be opened to receive random rewards.

There is a 20% chance of receiving a random Tier 12 Artifact, 20% chance of receiving an Eureka Pill, and 60% chance of receiving 9 random drops from its loot table. Possible items include random Pills, Elemental Fruits, Soul Gems, and other items.

### Consecrate (`kaiguang`) - 25 Incense

Randomly increases an item's tier by 1-4. This is done by adding 1-4 Specter Refinements with a 100% success rate to the item. This action is limited to Tier 12 just like regular Specter Refinement.

### Remold (`cuiti`) - 25 Incense

Cures all illnesses, restores all organs, and improves the five senses, similar to casting the 4 remolding miracles, consuming a Panacea Pill, and receiving the Reconstruction Miracle. It additionally also improves Luck, which does not have a remolding miracle available. Additionally, the Remold Action can be used on all Disciples, instead of only working on Outer Disciples. The Remold Action can be stacked on top of the 4 Remolding Miracles.

Like the 4 remolding miracles, the improvement depends on the **current value** of the attribute, and may only be cast once per character. This means that a Suppression Room can be used to reduce the current value to 0, where the % increase is greatest. Since Luck Spirit Relics are not generated by the game, Soul Infection can be used to decrease it to improve the effectiveness of this action, as well as the Dragon Incense CeremonyDLC.

The Remold action increases the base value of each attribute by the following amount:

 1
 2
 3
 4
 5
 6
 7
 8+

### Enlighten (`guanding`) - 9 Incense

Grants the target cultivator 50,000 base Inspiration

### Protect (`bihu`) - 9 Incense

Clears all other non-Boss weather effects, then summons the Air of Cultivation Weather for 9 days.

After reducing Incense, the function utilizes `World.Instance.Weather.ClearAllWeather` to get rid of the existing weathers that can be dispelled. After that, it utilizes `World.Instance.Weather.BeginWeather` spawning Air of Cultivation (`ZuShiBiHu`) weather.

## Special Abilities by Law

The following is a compilation of what Skills/Abilities are a part of which Law.

## Technical

The description of the abilities isn't always 100% logical. The following is based on the functions.

Used as a parent for inheritance by Deity's Body.

ThingDef Name = `Building_YiTui`

Has the `RoomKind` value set to `AncestorRoom`.

Tier 12, 25 Attractiveness.

Flammability value of -1, with a BurningPoint of 5000.

### Qi Gathering attributes

* `AddionLing` - 50
* `AddionRadius` - 9
* `AddionFailing` - 1
* `AddionFailRadius` - 1
* `Attenuation` - 0
* `Absorption` - 0
* `Accomodate` - 0

Due to the `AddionFailing` value being 1, there is no Decay in the Qi Gathering value.

### Elemental attributes

* Kind - Identical to Element of Cultivators Law
* `Value` - 9
* `Radius` - 8
* `Failing` - 1
* `FailRadius` - 1

Due to the `Failing` value being 1, there is no Decay in the Elemental emitting value. The `Radius` being one less than Qi Gathering should be noted.

## References

1. ↑ `XiaWorld.BuildingProduce.Making()`
2. ↑ `ThingUICommandDefine`
3. ↑ `Settings\MapStories\MapStory_Item.xml`
4. ↑ `XiaWorld.UILogicMode_IndividualCommand.Apply2Thing`
5. ↑ `XiaWorld.UILogicMode_IndividualCommand, case g_emIndividualCommandType.CuiTi (around line 1000)`
6. ↑ `ThingUICommandDefine, lines 608-612`