[(BG2) bug] Burning hands
Burning hands is supposed to have a range of 5 feet but was set to 2, causing mages to get stupidly close to large people with axes. The spell also pauses the caster too long (animation plays in two seconds, but the caster stands around for three).
// burning hands fixes
COPY_EXISTING ~spwi103.spl~ ~override~
READ_LONG 0x64 "abil_off"
READ_SHORT 0x68 "abil_num"
READ_LONG 0x6a "fx_off"
FOR ("index" = 0; "%index%" < "%abil_num%"; "index" = ("%index%" + 1)) BEGIN // fix existing effects
WRITE_SHORT ("%abil_off%" + 0x0e + ("%index%" * 0x28)) 5 // corrects range
READ_SHORT ("%abil_off%" + 0x10) "min_lev"
READ_SHORT ("%abil_off%" + 0x1e) "abil_fx_num"
READ_SHORT ("%abil_off%" + 0x20) "abil_fx_idx"
PATCH_IF ("%min_lev%" = 1) BEGIN
FOR ("index2" = 0; "%index2%" < "%abil_fx_num%"; "index2" = ("%index2%" + 1)) BEGIN
READ_SHORT ("%fx_off%" + (0x30 * ("%abil_fx_idx%" + "%index2%"))) "opcode"
PATCH_IF ("%opcode%" = 165) BEGIN // play 3d effect opcode
WRITE_LONG ("%fx_off%" + 0x0e + (0x30 * ("%abil_fx_idx%" + "%index2%"))) 2 // corrects duration
END
END
END
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Tanthalas on
0
Comments
That is the maximum distance the spray reached.
Just post a .pro patch too and we are saved.
But:
If the objective was for Burning Hands to be cast outside of melee range. Confirmed Fixed
If the objective was for the casting distance of Burning Hands to make sense when compared to the casting distance of other spells, then Confirmed Not Fixed of Confirmed that other spells have range problems:
The level 4 Divine spell Poison is supposed to have a range of 15 Feet. When I had a Cleric cast the spell at the same time as my Sorcerer casted Burning Hands they both moved closer to the target, but the Cleric started casting Poison at less than double the range that my Sorcerer stopped to cast Burning Hands, when the Cleric should have been three times as far away.
Likewise, the Arcane spell Spook is supposed to have a range of 30 feet, yet it is casted at least 3 times the distance of Poison.
So Confirmed Fixed.
Near Infinity shows SPWI103 to have:
"Range (feet)" = 5
"Casting speed" = 1
Also in-game the casting distance and speed for Burning Hands is different between SCRL86 and the actual spell.
SCRL86: instant cast
SPELL: Looks like the casting speed 1.
This is how the distance looks:
[SNIP]
For sure the scroll casting is the same melee-target-friendly distance that @CamDawg was mentioning. The spell casting is a better distance and clearly far enough away from a Green Xvart's short sword, but I tried it with a Two-handed-sword-wielding Skeletal Warrior (SKELWA.CRE), and it seems it's well outside the range of that particular melee weapon as well. That is, the distance that SKELWA got to the ogre was shorter than the distance Nexlit the Blue Elf got to SKELWA to cast Burning Hands. Hard to get a screenshot though because ogres use a morning star which- despite looking huge on-screen- nevertheless apparently has a range of 0.
[SNIP]