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

Spell merchant improvements #1243

Merged
merged 3 commits into from Mar 31, 2019

Conversation

petchema
Copy link
Collaborator

@petchema petchema commented Mar 30, 2019

Sort spells by alphabetic order, display spells magicka costs.

I considered greying out spells from the merchant when the magicka cost is over your MaxMagicka; That is, you cannot casts them, even when fully rested.
But greying out usually means stuff you cannot do, and you can still buy those spells, so I finally decided against it (the code is ready for such change though).

Forums: https://forums.dfworkshop.net/viewtopic.php?f=5&t=1916

Pierre Etchemaite added 3 commits March 30, 2019 19:28
I considered greying out spells from the merchant when the magicka cost
is over your MaxMagicka; That is, you cannot casts them, even when fully
rested.
But greying out usually means stuff you cannot do, and you can still buy
those spells, so I finally decided against it.
}
LoadSpellsForSale();
// I'm not sure GameManager.Instance.PlayerEntity.MaxMagicka would be a good idea here
PopulateSpellsList(offeredSpells, null);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I think you made the right choice here.

@Interkarma Interkarma merged commit 1d3ce68 into Interkarma:master Mar 31, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants