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

Added feat modifier for spell DCs for spell schools and individual spells #1656

Merged
merged 3 commits into from
May 19, 2023

Conversation

Cjreek
Copy link
Contributor

@Cjreek Cjreek commented May 18, 2023

NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSCHOOL + NWNX_FEAT_MODIFIER_SPELLSAVEDCFORSPELL.

Also added missing readme entry for NWNX_FEAT_MODIFIER_SPELLSAVEDC.

closes #1653

Plugins/Feat/Feat.cpp Outdated Show resolved Hide resolved
Comment on lines +342 to +343
auto* pSpell = Globals::Rules()->m_pSpellArray->GetSpell(nSpellID);
if (pSpell)
Copy link
Member

Choose a reason for hiding this comment

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

For future ref, you can also do the following: if (auto* pSpell = Globals::Rules()->m_pSpellArray->GetSpell(nSpellID))

@Daztek Daztek merged commit 085ea4e into nwnxee:master May 19, 2023
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.

Feature Request: Add DC types to NWNX_FEAT_MODIFIER_SPELLSAVEDC
2 participants