[(BG2) bug] minhp1
Well, now that it's in the game, minhp1.itm needs some fixes. It adds all sorts of immunities but lets through a lot of the strings that go with them. There are also various ways to kill a character with minhp1 equipped (all unavailable in BGEE, but still) such as draining attributes to zero.
// minhp1 is not protecting from all types of possible deathThe commented out strings are not present in BGEE; they're mainly the X Levels Drained messages.
COPY_EXISTING ~minhp1.itm~ ~override~
PATCH_FOR_EACH string IN 14021 14024 14029 14034 14042 14782 14791 14047 /* 32089 40968 40969 40979 41495 41616 */ BEGIN
LPF ADD_ITEM_EQEFFECT INT_VAR
opcode = 267
parameter1 = "%string%"
target = 1
timing = 2
END
END
PATCH_FOR_EACH immunity IN 6 10 15 19 23 39 44 49 76 165 210 241 246 BEGIN
LPF ADD_ITEM_EQEFFECT INT_VAR
opcode = 101
parameter2 = "%immunity%"
target = 1
timing = 2
END
END
BUT_ONLY
Post edited by Tanthalas on
2
Comments
Something is fishy with minhp1. it has the same immunity vs string effects multiple times.
#14102
But it contains all these effects, so fine.
-Effect#1 - Appears to disable displaying the spell description, not the spell effect. Should be String 26002, not 26001. (Imprisoned)
-Effect#33 - The disabled string is "No such index"
-Effect#38 & 39 are identical. (Panic)
-Effect#58 - Disables the string "I hear you, but I am steadfast. I have a job to complete and must return with the helm." (10554)
-Effect#64-69, 71 are identical. (Held)
Not sure if the botched ones should've been something.
I suspect this has been the victim of dialog.tlk being shuffled more than a Vegas card deck.
Effect#8-10 Disable Display String: Confused
Effect#11-16 Disable Display String: Rigid Thinking
Effect#22-25 Disable Display String: Panic
Effect#30-32 Disable Display String: Poisoned
Effect#33-35 Disable Display String: Poison
Effect#36-37 Disable Display String: Death
Effect#38-41 Disable Display String: Silence
Effect#42-43 Disable Display String: Silenced
Effect#44-50 Disable Display String: Sleep
Effect#51-52 Disable Display String: Stun
Effect#54-56 Disable Display String: Held
Effect#57-59 Disable Display String: Petrified
Um... uh oh... Looks like a lot of files got overwritten maybe- hence the seeming duplicates? This is how it now stands: Since I no longer see Imprisoned in the list, I'm figuring a bunch of strings got changed somehow. Perhaps the item is now setup properly but the strings have been compromised?
So are all those duplicate strings a problem?
Is there an easy way to check where those strings are used?
#25807 - used by a lot of spells
#17394 - used only by this item
#14782 - used by a lot of spells
ARGH... @CamDawg look at the strings disabled by SPPR508 (Chaotic Commands)
@Tanthalas - i got a system shock i don't want to look at these strings any more, it is scary
#14782 and #17394 are present in the original engine.
But #17394 is not used by anything.
Everything uses #14782.
I guess #25807 became used by the imported spells from ToB.
Maybe this isn't a problem, and definitely not this item's problem.
This item just tries to cover all strings.