Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xedra Evolved] Seasonal magic casting failure adjustments #79567

Conversation

Standing-Storm
Copy link
Contributor

@Standing-Storm Standing-Storm commented Feb 6, 2025

Summary

Mods "[Xedra Evolved] Seasonal magic casting failure adjustments"

Purpose of change

#79554 makes more complicated custom failure formulae possible. Going to start with seasonal magic (and will eventually probably overhaul MoM--get ready for a bunch of things to affect your channeling odds)

Describe the solution

Previously, the calculation was a flat 15%, +20% if at the opposite season, -3% per level of Deduction.

Now the calculation is a flat 15%, +35% if at the opposite season, +15% if simply in a different season, +9% per point of the spell's Difficulty, -6% per level of Deduction, -4% per other spell of that season you know. All of this is also modified by your mana--if below half mana, you suffer a penalty of 1 minus the ratio of your mana to max mana, minus 20%, divided by 1.5, as a percentage So if your max mana is 1000 and you have 400 mana, your spells are ((1 - 0.4) - 0.2) / 1.5 * 100) = 27% more likely to fail, going further up as your mana goes down.

(The logic here is that fae are innately magical beings, so spells are easier for them [they don't need to study and level individual spells] but as they use their magical reserves, using more of it becomes harder)

As before, your failure chance cannot go below 5% in the opposing season.

Describe alternatives you've considered

Testing

Gave myself various seasonal spells, added and removed spells, changed the season, and observed failure rates go up and down.

Additional context

At the moment with only three spells per season this is going to make them very difficult to cast, which is why I'm already working on more spells

When I have more time I might go back and revamp all the elemental fae spells so they also don't have levels and scale off your total power the way changeling magic does, for Fair Folk consistency.

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON Mods Issues related to mods or modding Mods: Xedra Evolved Anything to do with Xedra Evolved labels Feb 6, 2025
@Standing-Storm Standing-Storm marked this pull request as draft February 6, 2025 22:57
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Feb 6, 2025
@Standing-Storm Standing-Storm marked this pull request as ready for review February 7, 2025 05:57
@github-actions github-actions bot requested a review from Maleclypse February 7, 2025 05:57
@GuardianDll GuardianDll merged commit b9aada7 into CleverRaven:master Feb 7, 2025
32 of 41 checks passed
@Standing-Storm Standing-Storm deleted the seasonal-magic-difficulty-adjust branch February 7, 2025 14:07
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions Mods: Xedra Evolved Anything to do with Xedra Evolved Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants