Derivative Calculation

Derivative Calculation is a Miracle that has a chance to trigger a Secret.
==Uses==
The Miracle has a chance to trigger one of the listed #Secrets.
*Costs 10 Lifespan to cast
== Obtainment==
The Manual can be learned at Core Shaping and increases Attainment by 4Settings\Esoterica\Esoterica_Magic.xml.
*Jade Purity Immortal Law
*Six Paths Reincarnation Law
==Secrets==
Derivative Calculation, when successful, triggers a Secret from the below tableSettings\World\Events, Settings\Secrets, with the ID being randomly selected based on the Weight. For example, there is a 2/23 chance that Traces of Ancient Book will occur, and a 7/23 chance that any one of the 6 Manifesting Mandate Secrets will occurScripts\Magic\class\Magic_MapStory.lua , 			if eventID == 60 then eventID = 59;.
ID 	Weight	% 	Secret
6-10 	5 	21.7%	Manifesting Cave
11 	2 	8.7% 	Traces of Ancient Book
14-16	3 	13.0%	Manifesting Miracle
17-19	3 	13.0%	Traces of Evil Sect
20-22	3 	13.0%	Traces of Just Sect
29-34	7 	30.4%	Manifesting Mandate
==Success Rate==
The rate of success is directly and solely dependent on Intelligence, Luck and Attainment, with heavy emphasis on the lastScripts\Magic\class\Magic_MapStory.lua.
===Formula ===
 (Intelligence + Luck) * Attainment/40 = success chance in %
For example, for a Character with 6 Intelligence, 6 Luck, and 300 Attainment, the success rate is (6+6)*300/40 = 90%.
===Tips===
*Attainment, and therefore, the #Success Rate can be boosted in the early game with a Heavenlent Talisman.
*Heavensent Talisman can improve the base stats.
*GreatPainter (Mod) can be used to simplify the drawing of a fake talisman.
==References==
Category:Miracles
Category:Game Mechanics