Jump to content

Elin:Ehekatl of Luck: Difference between revisions

m
→‎Ehekatl's School of Magic: In order to consolidate all the formulas at the bottom of the spoiler page, created a spoiler/faith page and moved some of the content there.
m (Added note about artifact faction effect)
m (→‎Ehekatl's School of Magic: In order to consolidate all the formulas at the bottom of the spoiler page, created a spoiler/faith page and moved some of the content there.)
Line 100: Line 100:


=== Ehekatl's School of Magic ===
=== Ehekatl's School of Magic ===
The relevant code relating to the randomized mana and stamina costs is as such:
When consuming mana or stamina through the Ehekatl faith, the new cost is determined by taking a random number between 0 and 1.3 times the original cost plus 2. So in a case where a spell has a cost of 40, it would be randomised between 0 and 54.
if (a < 0 && BaseStats.CC.HasElement(1330, 1))        {            a = -EClass.rnd(-a * 130 / 100 + 2);        }
This means that if there is a mana or stamina cost, the new cost is determined by taking a random number between 0 and 1.3 times the original cost plus 2. So in a case where a spell has a cost of 40, it would be randomised between 0 and 54.
[[Category:Elin Gods]]
[[Category:Elin Npcs]]
[[Category:EN]]


If you want to see the specific calculation formula, please refer to '''[[Elin:Spoiler/Faith|Spoiler/Faith]]'''.
[[Category:Elin Gods]]
[[Category:Elin Gods]]
[[Category:Elin Npcs]]
[[Category:Elin Npcs]]
[[Category:EN]]
[[Category:EN]]
6,050

edits