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 700 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.
    • 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 House of Ash @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 House of Ash @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 House of Ash @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