Elin:Code Analysis/Faith: Difference between revisions
Jump to navigation
Jump to search
m (Installed cautionary note (test)) |
Hachimitsu (talk | contribs) m (Hachimitsu moved page Elin:Spoiler/Faith to Elin:Code Analysis/Faith without leaving a redirect) |
Latest revision as of 20:10, 2 December 2024
This page does not contain information obtained through legitimate play, but rather through Elin's data analysis, debug mode, and internal file viewing. It may contain serious spoilers or information that may detract from the enjoyment of playing the game. please summarize the content in a way that is easy to understand for people who cannot read the code, rather than posting the code as it is. |
Ehekatl's School of Magic
The relevant code relating to the randomized mana and stamina costs is as such:
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.