Awakened Animal

An Awakened Animal is an Animal that has gained self awareness. After receiving sufficient Intelligence Shards, an Awakened Animal can become a YaoGuai.
== Obtainment==
* Cast any Miracle from or on an Animal:
**
**
**
**
**
**
* Feed an Animal any of these pills Pills, their recipe being in :
** , starts with no thoughts or thought shard
** 
** 
** 
** 
** 
* Buy them from other sects and the Merchant in cages, with various bonuses depending on the cage and animal. Animals obtained from Cages will have a bugged 10 base Perception (see Mods):
** for 150 (sects) / 200 (merchant) s
** for 1,000 (sects) / 1,500 (merchant) s
** for 4,000 (sects) / 5,000 (merchant) s
*Random Awakening Events appearing in the World. The specified location needs to be Entered, following which the cultivator needs to find and catch the animal. The animal will have three identical thought shards, but no intelligence shards yet.
== Awakening==
After gaining 3 or more Intelligence Shards through YaoGuai Raising, it can be further awakened into a YaoGuai. The more Intelligence Shards, the more powerful the Yaoguai will be, but the faster their Shapeshifting Tribulation arrives.
The age of the resulting Yaoguai is set to 14 + 36 * \frac{Age}{Lifespan}, where Age is the age of the animal before Yaoguai Awakening.
Note: Upon Rebirth, Age and Attributes may get re-randomized.
=== Stats post Awakening ===
The base stats of the resulting Yaoguai are (by default) the sum of the initial stats of the animal and their inborn background. It is possible to use Remolding Miracles on the animals pre-awakening to improve those. As they become part of base stats, this is usually better than remolding post-awakening. Howver rebirthing that yaoguai will remove the modified stats. Moreover, any temporary stats boost the animal has when awakening will be definitive post-awakening, transferred to base stats as well.
The stats from thoughts are then added but not part of the base stats (AddV)XiaWorld.HumanoidEvolutionMgr.ModifyNpcByFrag(). Note that if you bought the animal from a cage, their perception will be set at 10It is likely all stats ought to be set at 10 but only perception is due to improper implementationXiaWorld.ItemThing.FreePackAnimal(), though they won't keep that stat on rebirth. In case the animal is not from a cage refer to this table's Perception for the actual base statsSettings/Npc/Race/Race_Animal.xml. The "Age" in reference is the age at which the animal was awakened, stats are not modified while aging in-game.
Species 	Age 	PER	CON	CHA	INT	LUK	Background/Trait bonuses
Bear 	0-4 	2 	4 	1 	1 	2 	+2 CON, -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	4 	2 	1 	4 	2 	+1 PER
PandaDLC	0-4 	2 	4 	1 	1 	2 	+1 CON, +4 CHA, -1 INT
PandaDLC	5-20 	5 	7 	2 	1 	3 	+1 CON, +4 CHA, -1 INT
PandaDLC	21+ 	5 	5 	2 	2 	3 	+1 CON, +4 CHA, -1 INT
=== Base skill levels post Awakening ===
==== Skill points generation ====
The game generates a number of "skill points" to be added randomly to any skill that isn't banned. That number is equal to NewAge * 1.25 * \frac{LearningSpeed}{100}, with NewAge defined as 14 + 36 * \frac{Age}{Lifespan} and the Learning Speed is the one calculated after taking into account Thought shardsXiaWorld.HumanoidEvolutionMgr.CreateA2HNpc(). The table below gives the average number of skill points per Yaoguai subrace: 
Species 	avg Age	Lifespan	INT	Extra 	base LearningSpeed	avg SkillPoints
Bear 	12 	45 	3 	 	95% 	28.0
Boar 	4 	24 	2 	 	80% 	20
Bull 	12 	45 	2 	 	80% 	23.6
Cat 	5 	15 	5 	 	125% 	40.6
Chicken 	4 	15 	1 	 	65% 	19.2
Frog 	5 	15 	1.5	 	72.5% 	23.6
Rabbit 	4 	15 	1 	10% base learning speed	75% 	22.1
Snake 	16 	50 	5 	 	125% 	39.9
Tiger 	9 	24 	4 	 	110% 	37.8
Turtle 	74 	200 	3 	 	95% 	32.4
Wolf 	4 	15 	3 	 	95% 	28.0
PandaDLC	4 	45 	-1 	30% base learning speed	65% 	14.0
where : 
* min Age is the minimum (generated) age of the animal
* avg Age is the average age of a generated animal, which is 37% of the maximum generated age (absent from this table but corresponding to GenerateMaxAge), rounded down.
==== Skill points repartition ====
The above skill points are added to skill levelsXiaWorld.NpcRandomMechine.MakeA2HNpcSkill(), excluding banned skills for the subrace if necessary, and some Inner disciples skills (Artifact Mastery, Spell, Protect, Formation), for a base total of 12 skills. First between 1 and 2 liked (*) skills are added on non-banned skills, then between 0 and 2 loved (**) skills are added (can replace previously loved or liked skills). The 4 previously mentionned skills (Artifact Mastery, Spell, Protect Formation) are also randomly liked (30% chance), with a 35% chance the liked skill becomes loved instead.
After that, all liked or loved skills gets added skill levels: 1.4 skill level for a liked skill, and 3 skill level for a loved one. The number of skill points is also reduced by the number of liked or loved skills.
Finally, for all remaining skill points, a random skill is upgraded from the list of non-banned skills, not part of the 4 above:
* if the skill is loved, 3 extra skill levels are added,
* if the skill is liked , 1.4 extra skill levels,
* otherwise, 1 extra skill levels.
Finally all skill levels obtained that way are limited to 10.
==== Practical example ====
Supposing we want to evaluate the Battle skill level of an Awakened wolf before transformation. If that wolf has an age of 4, with no thought affecting learning speed or battle, they'll have 28 base skill points, and they'll love (**) Battle by default. As they don't ban any skills, 12 skills can get points. They also love Social, so on average will love 2.83 skills and like 1.06 skill. This means their Battle skill level will be at a minimum of 8 from the initial points repartition on liked and loved skills and their background, and an average of 5 + \min{(10, 3 * (1 + \frac{28 - 2.83 - 1.06}{12}))} = 14.0.
== Animal Properties==
Each species of Animal have different properties. The Preferences of an Awakened Animal affect the rate at which it gains Thought ShardsSettings\HumanoidEvolution\Race\RaceEvoInfo.xmlG:\Games\Amazing Cultivation Simulator\Settings\HumanoidEvolution\Race\RaceEvoInfo_DLC.xml, and the rate of Thought Shard generation is highest if all Preferences are metXiaWorld.HumanoidEvolutionMgr.GetThinkInterval().
The preferences are tied to the pasture they're in. If they're not in a pasture, no preference can be satisfied.
Species 	Purchase from 	Diet 	Size 	Sound 	Preferences
Bear 	Purple Cloud Temple 	Omnivore 	Big 	Grrrrr, grrrrrrr! 	
*In a Pasture
*Outdoors
*Herbivores in the same pasture
Boar 	Mystic Unity Sect 	Omnivore 	Big 	Oink, oink! 	
*In a Pasture
*Outdoors
*Mushroom in the same pasture
Bull 	Pit of Doom 	Herbivore	Big 	Moo, moo! 	
*In a Pasture
*Outdoors
*Long Grass in pasture or within 1 distanceXiaWorld.AreaBreeding.HasPlant(), nearGrid includes all neighbour tiles to the pasture's so +1 distance.
*No Carnivores in the same pasture
Cat 	Kunlun Palace 	Carnivore	Small 	Meow, meow! 	
*In a Pasture
*Indoors
*No other animal in the pasture
Chicken 	Skydome Palace 	Herbivore	Small 	Cluck, cluck! 	
*In a Pasture
*Outdoors
*Wheat in pasture or within 1 distance
*No Carnivores in the same pasture
Frog 	Blue Lotus Temple 	Omnivore 	Small 	Ribbit, ribbit! 	
*In a Pasture
*Outdoors
*Lotus in pasture or within 1 distance
*No Carnivores in the same pasture
Rabbit 	Mt. Hundred Insects 	Herbivore	Small 	Cluck, cluck, chirp!	
*In a Pasture
*Outdoors
*Grass in pasture or within 1 distance
*Same Species in the same pasture
Snake 	Exultant Sect 	Carnivore	Small 	Hiss, hissss! 	
*In a Pasture
*Indoors
*Small Animals in the same pasture
Tiger 	Sunshade Abode 	Carnivore	Big 	Roar, roar! 	
*In a Pasture
*Outdoors
*No other animal in the same pasture
Turtle 	Evenfall Abode 	Omnivore 	Small 	Caw, caw! 	
* In a Pasture
* Indoors
*Reeds in pasture or within 1 distance
Wolf 	Seven-Slaughtering Sect	Carnivore	Medium	Rawr, rawr! 	
*In a Pasture
*Outdoors
*Same Species in the same pasture
LushuThis Animal cannot be Awakened except through Possession, however it has the following default properties:	N/A 	Carnivore	Small 	N/A 	N/A
Fei 	N/A 	Carnivore	Small 	N/A 	N/A
PandaDLC 	N/A 	Omnivore 	Big 	*whines*, *whines*! 	
*In a Pasture
*Outdoors
*Bamboo in pasture or within 1 distance
*Same Species in the same pasture
== Mods ==
=== Iguana's Overhaul, Fixes ===
* Correct Caged Animal's Perception (Optional) - remove the 10 Perception from caged animals.
* Also fixes a number of Yaoguai-related bugs
==References==
Category:Characters
Category:Animals
Category:Game Mechanics
Category:YaoGuai