Law Match

Law Match is a Property of Xiandao cultivators that determines how well the Cultivator is suited to practicing their Law. 
==Effects==
*Increases Golden Core QualityXiaWorld.NpcPractice.GoldEffectSpeed
*Increases Cultivation SpeedXiaWorld.NpcPractice.DoPractice
==Increasing==
*Having Five Attributes that are higher than their Law's requirements
*A positive Law Matching Bonus for the Element of the Law. Some sources include:
**Yaoguai Thought Shards
**Feeding Percentages for an Incarnated Sentient Spirit
**The Ingenuity Essence Manual from Law of Nimbus Conquest (+25% Law Matching Bonus for all Elements)
==Decreasing==
*Having Five Attributes that are lower than their Law's requirements
*A negative Law Matching Bonus for the Element of the Law. Some sources include:
**Yaoguai Thought Shards
**Feeding Percentages for an Incarnated Sentient Spirit
== Calculation ==
The calculation is based on the followingXiaWorld.NpcPractice.GetFiveBaseEfficiency:
# Start with a match of 100%
# For each of the Five Attributes required* by the Law:
#* If Attribute is higher than the Law's requirement, increase Law Match by 4% per point
#* If Attribute is lower than the Law's requirement, decrease Law Match by 20% per point
# If all five Attributes are greater than or equal to the Law's requirements, increase Law Match by 25%
# If the result is less than 50%, set to 50%. 
# Apply any Law Matching Bonuses, and return the final Law Match Percentage. 
*Note: If Law requirement is -1 (no requirement), no change to Law Match.*Note: Decimal values are counted. Ex. An Attribute higher than the requirement by 1.5 results in a 6% increase (IE: 1.5 x 4% = 6%).
Calculation Examples
A Yaoguai has the following information:
*Five Attributes: PER:7, CON:3, CHA:6, INT:3, LUK:6
*Winter Thought Shard
**-40% Fire Law Matching Bonus
*Ingenuity EssenceDLC (Manual), requires Sub-Spirit Gear
**+25% All Law Matching Bonus
True Sun Refining LawThe calculations are as follows if practicing True Sun Refining Law, with Requirements: PER:5, CON:5, CHA:5, INT:5, LUK:5:
*Start with 100%
*4 points above Law requirements (+16%)
*4 points below Law requirements (-80%)
* Not all of the Law's requirements are met: +0%
*36% < 50%, therefore set to 50%
*Apply total Law Match bonus of -15%
Final Law Match Percentage: 35%
 (100% + (4 * 4%) + (4 * -20%) + 0%) = 50% - 15% = 35%
Law of Nimbus Conquest
The calculations are as follows if practicing Law of Nimbus Conquest, with Requirements: PER:6, CON:-1, CHA:6, INT:-1, LUK:6:
*Start with 100%
*1 point above Law requirements (+4%)
*0 points below Law requirements (-0%)
*All of the Law's requirements are met: +25%
*129% > 50%, therefore unchanged.
*Apply total Law Match bonus of +25%
Final Law Match Percentage: 154%
 100% + (1 * 4%) + (0 * -20%) + 25% + 25% = 154%
== Xiandao Law Matching ==
The following table contains Xiandao Laws with their requirements and the highest possible Law Matching value with capped stats.
Law Name 	Element	Type 	PER	CON	CHA	INT	LUK	Value with capped stats
Grand Chariot Wisdom Law 	 	Taiyi 	7 	4 	 	5 	 	181%
Six Paths Reincarnation Law	 	Taiyi 	4 	6 	 	6 	3 	209%
Sixteen Supreme Steps Law 	 	Taiyi 	 	7 	5 	6 	 	173%
Sunflower Refining Law 	 	Taiyi 	6 	 	6 	6 	 	173%
True Sun Refining Law 	 	Taiyi 	5 	5 	5 	5 	5 	225%
Emotion Severing Law 	 	Non-Taiyi	5 	 	9 	5 	 	169%
Heaven Stealing Law 	 	Non-Taiyi	 	9 	 	 	3 	157%
Jade Purity Immortal Law 	 	Non-Taiyi	4 	 	 	7 	6 	177%
Law of Nimbus Conquest 	 	Non-Taiyi	6 	 	6 	 	6 	173%
Myriad Artifact Law 	 	Non-Taiyi	8 	 	 	5 	3 	181%
Primordial Alchemy Law 	 	Non-Taiyi	6 	5 	 	6 	 	177%
Primordial Symbols Law 	 	Non-Taiyi	8 	 	4 	8 	 	165%
Seven-Slaughtering Sword 	 	Non-Taiyi	7 	7 	 	 	4 	173%
== Detailed list of Law Matching Bonus ==
The following table contains a list of all 6 Law Matching Properties and the sources modifying it.
Property 	Ingenuity Essence	Yaoguai Fragments (Positive)	Yaoguai Fragments (Negative)	Sentient Spirits (Positive) 	Sentient Spirits (Negative
Metal Law Matching Bonus 	+25% 	(Facing West) +30% 	(Summer) -50% 	(Innately Metal-friendly) +50%	(Innately Metal-hostile) -50%
Wood Law Matching Bonus 	+25% 	(Facing East) +30% 	(Autumn) -40% 	(Innately Wood-friendly) +50% 	(Innately Wood-hostile) -50%
Water Law Matching Bonus 	+25% 	(Facing North) +30% 	(Ground) -40% 	(Innately Water-friendly) +50%	(Innately Water-hostile) -50%
Fire Law Matching Bonus 	+25% 	(Facing South) +30% 	(Winter) -40% 	(Innately Fire-friendly) +50% 	(Innately Fire-hostile) -50%
Earth Law Matching Bonus 	+25% 	(Facing Down) +30% 	(Spring) -40% 	(Innately Earth-friendly) +50%	(Innately Earth-hostile) -50%
Undefined Law Matching Bonus	+25% 	 	 	 	
==References==
Category:Xiandao Cultivation