oBG2 spells bugs
TotoR115 opened this issue · comments
The following spells have some bugs on oBG2 (with component 80):
-
Mold Touch
: unknown Opcode 324 -
Storm shell
: unknown Opcode 321 and has no icon - it is needed for ds - could beProtected from the Elements (76)
-
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 -
circle of bones
has no icon - it is needed for ds - could beHeld (13)
-
shout
has no icon for deafness effect -
Gshout
has no icon for deafness effect -
dart of bones
strength malus effect has no icon -
slot Icons for
moonblade
,Mordenkainen's Force Blade
,iron body
,lich touch
,Star Metal Cudgel
are not centered on oBG2 -
Iron body
.itm has an unknow icon -
Impervious Sanctity of Mind
has some wrong icons: unknown icon + mind shield + resist fear -
static charge
has an icon in the main spell. However, it seems not necessary, as it is already in the spl#B.spl -
wrath of the faithfull
B.spl has an unknown icon andwrath of the faithfull
A.spl has an unknown icon + mind shield -
wrath of the faithfull
A.spl immunity to hast does not protect agoinst mazzy haste (spin826.spl) -
-- seems to be a compatibility issue with SCSEntropy Shield
: there are some Opcode 318 with no state _
Mind blank
has no iconemotion, courage
has no iconemotion, hope
has not the right icon (heroism instead of hope)#beltyn
has berserk's icon in addition to beltyn's iconanti magic shell
has the wrong icon (spell failure instead of its icon)exaltation
has no iconEntropy shield
has a wrong icon; regeneration instead of entropyBlood Rage
has berserk's icon instead of blood rageanimal rage
has 2 icons: animal rage and spell failure
putthe ini file seems to have no effect in fact...install_obg2_icons=1
indw_iwdspells.ini
solve those issues. However, as you need to install a specific component to add icons, it seems strange to also need to modifydw_iwdspells.ini
file to install some of them
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.
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%"
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
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
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 beProtected from the Elements (76)
shout
has no icon for deafness effect
Gshout
has no icon for deafness effectslot 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.
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 👍
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.
- The library was was not gating new EE icons through an EE game check, so oBG2 ended up with fluid icon assignments and a three-column statdesc. This is why so many spells ended up with leftover 'unknown' icons or random ones.
- The oBG2 icon component will now also purge redundant icons if a spell has a unique one, e.g. Iron Body will no longer show 'protection from poison' since it already has Iron Body. Without the oBG2 icons installed, these secondary icons will remain.
- Somewhere deep in the SFO bits of code, oBG2 Icons get partially rolled back when a spell component (including bard songs) gets installed after. I've spent hours crawling through the code and can't find it, so I'm punting it to David. Everything works fine if oBG2 Icons are installed last, so I've restructured the mod to put them last in the natural order and will include this as a known issue in the readme until we can get it properly addressed.
IRR Shield Amulet vs. MFM is fixed, lib_sfo is fixed.
When installed on oBG2 (maybe for EE too) There is a new ref for
CLERIC_CAUSE_SERIOUS_WOUNDS
andCLERIC_CAUSE_CRITICAL_WOUNDS
witch areCLERIC_CAUSE_SERIOUS_WOUNDS_IWD
andCLERIC_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.
And I believe that's it. Closing the issue.
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.