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

Withstand vs Potency message in summary when PrimaryFactor = potency #9

Open
MichalRybinski opened this issue Aug 22, 2018 · 0 comments

Comments

@MichalRybinski
Copy link

Hi there

First of all: wonderful tool for Mage players! Makes spellcasting so much easier!

Having said that, can I suggest potential improvement for user messages when a spell is withstood? (it is a nice feature to preselect potency factor as well!)

Would it be easy to change the message and logic behind it to be more conditional e.g.

Spell factors view

if (selected potency <= withstand)
"Potency must exceed the subject's Withstand of {withstand}" //as today, red alert message
else if (selected potency > withstand)
"Subject's Withstand of {withstand} will decrease Potency to {selected potency - withstand}" //green/blue info message, as everything is ok

Summary view

effective spell potency = potency from spell factor - withstand factor

If (effective spell potency > 0)
"This spell is withstood. Spell potency affecting target is {effective spell potency}". //green/blue info message, as everything is ok
else if (effective spell potency <=0)
"This spell is withstood. Potency {withstand factor +1} is required to affect the target. ". //as today, red alert message


Currently it throws at user red alert messages (with correct info) regardless of what is the value of potency factor:

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant