Jump to content
Miloch

Opcode 317: Haste II

Recommended Posts

I've seen this opcode on some mod items. It shows up as "Haste II" in DLTCEP but isn't in the IESDP opcode list (which ends at 316 for BG2). How exactly is it different from "Haste I" (opcode 16)?

Share this post


Link to post

Yeah, I don't remember any difference other than a different opcode value to bypass immunity to 16.

 

Checking to see if it gets toggled by slow (they should cancel each other out, and if you don't have any display portrait icon effects, the icons would be handled correctly -- with none showing for a slowed and haste2d character) is the only place I can think of where you would be able to tell if there's a difference (I don't remember results of ever testing this, if I ever did).

Share this post


Link to post
I've seen this opcode on some mod items.

 

It's also used for the Whirlwind (SPCL900.SPL) and Greater Whirlwind (SPCL901.SPL) HLAs in ToB.

Share this post


Link to post

Well I did some testing and haven't been able to find any difference between opcodes 16 and 317.

 

They both cause Haste (normal, improved or movement only, based on parameter 1 of 0, 1 or 2). They both can be canceled by Slow. They both can be dispelled based on whether they're dispellable.

 

So I checked whether Free Action (opcode 163) would affect them differently. Maybe this is already known but it's not in the IESDP. AFAICT, opcode 163 does not cancel either Haste or Slow by itself. Therefore, I'm not quite sure what it's supposed to do, if anything. The Fixpack appears to "solve" this by applying opcode 126 (movement modifier I of 100%) to Free Action.

 

Why tf didn't they just implement opcodes for Cure: Slow and Cure: Haste?

Share this post


Link to post

Free action restores movement rate (if current movement rate < default movement rate, all limited movement rate modifiers are purged).

Share this post


Link to post

Yeah, it cancels opcode 126 I guess, but not opcode 40. Not much does remove Slow except Dispel Magic. Even Haste doesn't really seem to cancel it as described, it just coexists with it for whatever duration, resulting in sort of a choppy movement that approximates normal speed.

Share this post


Link to post
Free action restores movement rate (if current movement rate < default movement rate, all limited movement rate modifiers are purged).
Actually, further testing indicates opcode 163 does not cancel opcodes 126 or 176, whether they be applied as positive or negative temporary modifiers. So like I said, I'm not sure what exactly it's supposed to do. On the other hand, Haste of both types do seem to override Slow and vice versa, but the Slow can reassert itself if the Haste expires. So it doesn't really "cancel" the slow opcode as stated.

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...