Author Topic: Unnerfing the Holy Avenger...(1.69)  (Read 595 times)

Legacy_velmyn

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« on: July 10, 2011, 05:46:19 pm »


               Is there a way to unnerf the Holy Avenger property so that it uses character level again instead of a default caster level 10 on its dispel check?

Pre-1.69 the uncapped dispel on-hit was one of the things that helped paladins stay effective, and I'd like that to be the case again.

To be specific, I want to create an override file that will apply to the game itself (original campaigns and premium modules), not a hak that has to be applied to the module.

Sorry in advance if this belongs to a different forum.
               
               

               


                     Modifié par velmyn, 10 juillet 2011 - 04:47 .
                     
                  


            

Legacy_CID-78

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #1 on: July 10, 2011, 06:07:19 pm »


               I don't think there is a easy plug and play solution that work on any module. most solution would need to patch the module to force it to run some custom scripts. itemproperties are hardcoded into the game and can't be reached so you must slice them out and replace them or work around them.
               
               

               
            

Legacy_velmyn

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #2 on: July 10, 2011, 07:04:17 pm »


               Ah,,,I suspected that might be the case, pity.

In any case, thanks for clearing that up.
               
               

               
            

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #3 on: July 11, 2011, 05:45:00 am »


               I think it's possible to make a few override scripts for someone to drop into their override folder.  One could replace the default OnAcquire and the others could replace holysword and say greater dispelling.

A section in the OnAcquire script could check for the Holy Avenger property, remove it, and then replace it with a permanent OnHit greater dispelling (and the other properties that make a HA).  It isn't too hard to rewrite greater dispelling to act like an uncapped dispel magic based on paladin level, that fires 25% of the time.  We have one that works fine.
               
               

               
            

Legacy_CID-78

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #4 on: July 11, 2011, 07:42:24 am »


               there is no default Onaquire script. so that solution will only work with modules using that specific script in that specific location. which meen that you won't even get all the OC Campaigns. ie why i wrote patching. you will also open up for the caverat that someone already have modified the script in question and you are overriding it with another alternate version which do not contain that extra piece causing the module to be bugged/broken. So to be sure you must do a module by module change.
               
               

               
            

Legacy_the.gray.fox

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #5 on: July 11, 2011, 11:38:23 am »


               Hm. You have to break some eggs if you want to cook an omelet.
That is, no good things come for free.

To change the Holy Avenger via script is possible. But you have to re-script it.
How much of it is there to rescript... that depends on how much work you are willing to do.
Perfection may not be achievable, though. Go hack the exe if you want perfection.

But a good compromise between quality and fidelity would be the one mentioned by Terrorble.
Basically you banish the HolyAvenger item property from your module.
Whenever something with HolyAvenger is acquired, you substitute it on-the-fly with a set of your itemproperties -- meant to do the work of the original HolyAvenger.
Be careful and ensure that your new itemproperties only work for genuine paladins.
And you should also modify the spell Holy Sword accordingly.

If you want ideas for your own implementation, take a look at my [Fox Spells].
There is an include in it [fox_inc_holyavng] that holds most of the functionality for my solution.
To understand the code, start looking at the functions meant to hook the Module Events.
From there you walk the walk and see what I do. Quite straightforward, really.

[edit][
In a nutshell, my HolyAvenger is 100% script controlled, even the dispel magic portion of it.
Of course you are not required to go that far. You may reuse the standard game dispel magic mechanics (which, by itself, shall save you a ton of scripting).


-fox
               
               

               


                     Modifié par the.gray.fox, 11 juillet 2011 - 10:42 .
                     
                  


            

Legacy_velmyn

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Unnerfing the Holy Avenger...(1.69)
« Reply #6 on: July 12, 2011, 03:16:21 am »


               Thanks for the replies Terrorble and the.gray.fox. What you suggest is an interesting (and creative) solution, but what I really want is for the Holy Avenger property to be fixed across any (and all) modules that use the default Holy Avenger without modifying it.

In other words, assuming what CID-78 said is true, what you suggest may work with the OC and expansions since these are open for modification...but it won't be the case with Infinite Dungeons or other premium modules. I'd have to mod (and be able to mod) any modules I want to play.

Eh...well. If I knew how, I'd probably hack the exe as you suggest. (aim for perfection, as you say) Unfortunately I don't, and I doubt the process is simple enough that I can learn how to do it over the internet. Oh well. Thanks anyway...