Gibberlings3 / iwdification

IWDification is a mod to bring some of the elements of Icewind Dale into the Baldur's Gate series of games. A lot of this project is based upon the work of the IWD-in-BG2 conversion project. The mod adds various elements such as selectable bard songs, two-handed axes, and over 65 new spells into your BG2, Tutu, BGT, or BGEE game. Every component can be installed independently of one another.
https://www.gibberlings3.net/mods/spells/iwdification/
12 stars 6 forks source link

oBG2 spells bugs #14

Closed TotoR115 closed 2 years ago

TotoR115 commented 3 years ago

The following spells have some bugs on oBG2 (with component 80):

  • ~put install_obg2_icons=1 in dw_iwdspells.ini solve those issues. However, as you need to install a specific component to add icons, it seems strange to also need to modify dw_iwdspells.ini file to install some of them~ the ini file seems to have no effect in fact...

I have been misled by the component installation order: the icons issue is due to the installation of Component 50 after component 80 - as proposed - however, if you installed component 80 after it solves, this time, the issue.

TotoR115 commented 3 years ago

when installing on BGT, there is a strange file created in the override folder: %val_bcs%.bcs

When looking a little bit, the error come from lib_sfo.tph line 485:

OUTER_SPRINT "%var%_BCS" "%val_bcs%"

it seems to be a typo and it seems that it should be

OUTER_SPRINT "%var%_BCS" "%val%"

TotoR115 commented 2 years ago

When installed on oBG2 (maybe for EE too) There is a new ref for CLERIC_CAUSE_SERIOUS_WOUNDS and CLERIC_CAUSE_CRITICAL_WOUNDS witch are CLERIC_CAUSE_SERIOUS_WOUNDS_IWD and CLERIC_CAUSE_CRITICAL_WOUNDS_IWD. This create a double ref for the same spell for cleric

TotoR115 commented 2 years ago

To be compatible with mod that alter amul15 - shield amulet effects with IRR and item pack are activated when equipped- it could be possible to add:

COPY_EXISTING ~amul15.itm~ ~override~ // update shield amulet to block MFM, too
      LPF CLONE_EFFECT INT_VAR silent = 1 match_opcode = 206 STR_VAR match_resource = ~spwi112~ resource = EVAL ~%WIZARD_MORDENKAINENS_FORCE_MISSILES%~ END
      LPF CLONE_EFFECT INT_VAR silent = 1 match_opcode = 206 STR_VAR match_resource = ~spwi112~ resource = EVAL ~%WIZARD_MORDENKAINENS_FORCE_MISSILES%b~ END  
CamDawg commented 2 years ago

Working through these at the moment:

  • Mold Touch: unknown Opcode 324

  • Storm shell: unknown Opcode 321 and has no icon - it is needed for ds - could be Protected from the Elements (76)

  • shout has no icon for deafness effect

  • Gshout has no icon for deafness effect

  • slot Icons for moonblade, Mordenkainen's Force Blade, iron body, lich touch, Star Metal Cudgel are not centered on oBG2

These are fixed.

  • Lich Touch: the spell/item has no icons for the paralysis immunity and the weapon (ltouch.itm) has a base attack power of 1d2 in addition to magical damages in ltouch.spl

This is fine. There's no icon for paralysis immunity, and touch attacks generally include 1d2 damage as fist damage.

TotoR115 commented 2 years ago

This is fine. There's no icon for paralysis immunity, and touch attacks generally include 1d2 damage as fist damage.

After all those years, I have never paid attention to those damages... every day something new 👍

CamDawg commented 2 years ago

wrath of the faithfullA.spl immunity to hast does not protect agoinst mazzy haste (spin826.spl)

This is fixed.

The rest are icon issues, which are fixed, per the caveat below. There were basically three major issues at the root of all of them.

CamDawg commented 2 years ago

IRR Shield Amulet vs. MFM is fixed, lib_sfo is fixed.

CamDawg commented 2 years ago

When installed on oBG2 (maybe for EE too) There is a new ref for CLERIC_CAUSE_SERIOUS_WOUNDS and CLERIC_CAUSE_CRITICAL_WOUNDS witch are CLERIC_CAUSE_SERIOUS_WOUNDS_IWD and CLERIC_CAUSE_CRITICAL_WOUNDS_IWD. This create a double ref for the same spell for cleric

This is by design. Enemy AI scripting still uses the unfettered non-IWD spells for simplicity, while PCs only see the new _IWD spell.

CamDawg commented 2 years ago

And I believe that's it. Closing the issue.

TotoR115 commented 2 years ago

This is by design. Enemy AI scripting still uses the unfettered non-IWD spells for simplicity, while PCs only see the new _IWD spell.

Ok, so now I understand, my mistake come from Divine Remix. As it reactivate all cleric spells, I have two version in my cleric spell book.