• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 439 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.
  • O
    O-louth @SpiffyMeister
    last edited by 18 Nov 2024, 06:12

    @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 18 Nov 2024, 06:40

      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
      • E
        Echo Team Lead
        last edited by 18 Nov 2024, 13:32

        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.

        S 1 Reply Last reply 18 Nov 2024, 15:55 Reply Quote
        • S
          SpiffyMeister @Echo
          last edited by 18 Nov 2024, 15:55

          @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
          • Z
            Zool
            last edited by 18 Nov 2024, 22:40

            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
            • S
              Strife and Discord
              last edited by Strife and Discord 20 Nov 2024, 06:21

              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.

              S Z 2 Replies Last reply 20 Nov 2024, 10:30 Reply Quote
              • S
                SpiffyMeister @Strife and Discord
                last edited by 20 Nov 2024, 10:30

                @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 1 Reply Last reply 20 Nov 2024, 10:33 Reply Quote
                • O
                  O-louth @SpiffyMeister
                  last edited by 20 Nov 2024, 10:33

                  @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
                  • Z
                    Zool @Strife and Discord
                    last edited by 20 Nov 2024, 22:10

                    @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
                    • Z
                      Zool
                      last edited by 20 Nov 2024, 22:16

                      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
                      • S
                        Strife and Discord
                        last edited by 21 Nov 2024, 09:11

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

                        S 1 Reply Last reply 21 Nov 2024, 16:18 Reply Quote
                        • S
                          SpiffyMeister @Strife and Discord
                          last edited by 21 Nov 2024, 16:18

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

                          Puffy's bumbling Scum-goblin minion.

                          1 Reply Last reply Reply Quote
                          • S Strife and Discord locked this topic on 21 Nov 2024, 17:08
                          • S Strife and Discord moved this topic from Bug Reports on 21 Nov 2024, 17:09
                          • 1 / 1
                          1 / 1
                          • First post
                            11/13
                            Last post