City of Arabel
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Protection from Evil

    Scheduled Pinned Locked Moved Closed Bugs
    13 Posts 6 Posters 550 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SpiffyMeisterS
      SpiffyMeister
      last edited by SpiffyMeister

      It is not providing bonuses versus saves versus fear.

      Puffy's bumbling Scum-goblin minion.

      O-louthO 1 Reply Last reply Reply Quote
      • O-louthO
        O-louth @SpiffyMeister
        last edited by

        @SpiffyMeister

        Fear is not a mind spell. Items that Grant vs. Mind spells do not count against fear either.

        Character: Wouldnt you like to know?
        Olouthitis: Character does awesome things for a few months, but inevitability hijacks an air ship and crashes it into an evil faction head quarters screaming battle cries.

        1 Reply Last reply Reply Quote
        • S
          Swifty Willownall
          last edited by Swifty Willownall

          According to the NWN Wiki:
          d037bc99-3eb1-4ad7-81cc-f1ecacb227b5-image.png

          Fear is indeed a mind-affecting effect. So it should get the PfA CoA bonus, since the CoA bonus replaces the immunity that is normally given.

          The Fear Spell however only has the Fear descriptor, not the mind-affecting descriptor. This is silly in my opinion, since fear is classified as a mind-affecting thing, so protection from alignment should apply to the fear spell. And if it doesn't, we should change it so it does.

          Scott Keellip - White Knight, killed by Drow
          Sir William the Fearless - Fearless! and nice.
          Vardix - Black Dragon cultist. Also killed by Drow.
          Nihlos Carver - Fear the Reaper
          Argun The Dawnhammer - Strongman of Lathander

          1 Reply Last reply Reply Quote
          • EchoE
            Echo
            last edited by

            fear is under necromancy, isnt it?

            "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

            SpiffyMeisterS 1 Reply Last reply Reply Quote
            • SpiffyMeisterS
              SpiffyMeister @Echo
              last edited by

              @Echo yes

              However, immunity to mind spells at the spell originally granted also blocked fear. The bonus should apply to the fear spell and scare spell.

              Puffy's bumbling Scum-goblin minion.

              1 Reply Last reply Reply Quote
              • ZoolZ
                Zool
                last edited by

                It should just provide a bonus vs mind afecting spells.

                Why is fear getting brought up? If it grants vs mind spells, should all be good. If it isn't, that's a bug.

                If a bonus vs mind spells isn't working against fear then there is something else much more problematic than our code going wrong.

                > !!!MOLES for the MOLE GOD!!!

                1 Reply Last reply Reply Quote
                • Strife and DiscordS
                  Strife and Discord
                  last edited by Strife and Discord

                  Fear:

                                  if(!MySavingThrow(SAVING_THROW_WILL, oTarget, GetSpellSaveDC(), SAVING_THROW_TYPE_FEAR, OBJECT_SELF, fDelay)) {
                                      //Apply the linked effects and the VFX impact
                                      DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, fDuration));
                                  }
                  

                  New Protection from Alignment:

                      nMindImmunityBonus = GetMindImmunityBonus(oCaster, nCasterLevel);
                      eDeflectionAC = EffectACIncrease(SPELL_AC_DEFLECTION_BONUS, AC_DEFLECTION_BONUS);
                      eDeflectionAC = GetVersusAlignmentEffectByalignment(eDeflectionAC, nAlignment);
                      eSavingThrows = EffectSavingThrowIncrease(SAVING_THROW_ALL, SPELL_SAVING_THROWS_BONUS);
                      eSavingThrows = GetVersusAlignmentEffectByalignment(eSavingThrows, nAlignment);
                      eMindImmunity = EffectSavingThrowIncrease(SAVING_THROW_WILL, nMindImmunityBonus, SAVING_THROW_TYPE_MIND_SPELLS);
                      eMindImmunity = GetVersusAlignmentEffectByalignment(eMindImmunity, nAlignment);
                  

                  You can see that the Fear spell is rolling will versus Fear saving throws, while our new protection versus alignment rolls versus Mind spells. The original Protection versus alignment had immunity to mind spells and according to the 2da at least, Fear doesnt have that type of immunity - Its fear.

                  We can validate in-game but the old version shouldnt have allowed the user to be immune to Fear either.

                  Fix-wise its an easy fix anyway to the new alignment code.

                  SpiffyMeisterS ZoolZ 2 Replies Last reply Reply Quote
                  • SpiffyMeisterS
                    SpiffyMeister @Strife and Discord
                    last edited by

                    @Strife-and-Discord it may now be intended behavior, but i would argue that fear saves should be accounted for.

                    Puffy's bumbling Scum-goblin minion.

                    O-louthO 1 Reply Last reply Reply Quote
                    • O-louthO
                      O-louth @SpiffyMeister
                      last edited by

                      @SpiffyMeister

                      Or at least the spells that grant fear. I imagine howls can still be pure fear and not a mind spell.

                      Character: Wouldnt you like to know?
                      Olouthitis: Character does awesome things for a few months, but inevitability hijacks an air ship and crashes it into an evil faction head quarters screaming battle cries.

                      1 Reply Last reply Reply Quote
                      • ZoolZ
                        Zool @Strife and Discord
                        last edited by

                        @Strife-and-Discord said in Protection from Evil:

                        We can validate in-game but the old version shouldnt have allowed the user to be immune to Fear either.

                        This is the key thing.

                        Cos... I swear it did.

                        > !!!MOLES for the MOLE GOD!!!

                        1 Reply Last reply Reply Quote
                        • ZoolZ
                          Zool
                          last edited by

                          https://nwn.fandom.com/wiki/Mind-affecting

                          • The mind-affecting effects are charmed, confused, dazed, dominated, ---frightened---, paralyzed, sleep, and stunned. Any attempt to apply one of these effects to a creature with immunity to mind-affecting spells will fail. As exceptions, stunning fist and death attack bypass mind-affecting immunity, even though they inflict mind-affecting conditions (stunned and paralyzed).

                          ---frightened--

                          • This is a mind-affecting effect and as such it can be blocked by immunity to mind-affecting spells.

                          so the old version should have.
                          New version should too, as we wanted to make it boost the saves, instead of have blanket immunity, but we didn't decide to remove anything from what it boosted saves for.

                          > !!!MOLES for the MOLE GOD!!!

                          1 Reply Last reply Reply Quote
                          • Strife and DiscordS
                            Strife and Discord
                            last edited by

                            Fixed deployed in version 20241121 Strife 8618. Please confirm once the new version is live.

                            SpiffyMeisterS 1 Reply Last reply Reply Quote
                            • SpiffyMeisterS
                              SpiffyMeister @Strife and Discord
                              last edited by

                              @Strife-and-Discord Fix confirmed, ca4430b6-7aa5-4ce3-8785-6d8c2d0447e2-image.png

                              Puffy's bumbling Scum-goblin minion.

                              1 Reply Last reply Reply Quote
                              • Strife and DiscordS Strife and Discord locked this topic on
                              • Strife and DiscordS Strife and Discord moved this topic from Bug Reports on
                              • 1 / 1
                              • First post
                                Last post