Jump to content
Sign in to follow this  
CamDawg

Haste opcode clarifications

Recommended Posts

In the BG opcodes list, haste (16) is described as "Increases the movement rate of the targeted creature(s)." This is incorrect as it also doubles APR. I would instead suggest "Doubles the movement rate and doubles Attacks Per Round (APR) of the targeted creature(s)."

In the IWD opcode list, it says of haste (16) "Applies the Haste effect to the targeted creature(s).". Since I don't think 'Haste effect' is defined anywhere, I would suggest using the same verbiage as BG, above, for clarity.

BG2 and EE use this in the haste (16) listing:

Quote

Applies the Haste effect, in the style specified by the 'Type' value.
Known values for 'Type' are:
0 Normal Haste
1 Improved Haste
2 Speed haste without attack bonuses

Same problem as IWD, in that we've never defined what 'Haste", normal or improved, actually does. For clarity I suggest

Quote

Applies the Haste effect, in the style specified by the 'Type' value.
Known values for 'Type' are:
0 Normal Haste - double the movement rate and one additional Attack Per Round (APR)
1 Improved Haste - double the movement rate and doubles APR
2 Speed only - double the movement rate, no change to APR

 

Share this post


Link to post

Let's go full wall of text (EE's):

0    :    Normal Haste
- (+1 APR, Rounded Down)
- Displays Portrait Icon STATDESC[38|"Haste"]
- Maintains STATS[155|IMPROVEDHASTE] to '0'.
- Maintains STATS[185|ANIMATION_ONLY_HASTE] to '0'.
1    :    Imporved Haste
- (Double APR)
- Displays Portrait Icon STATDESC[110|"Improved Haste"]
- Maintains STATS[155|IMPROVEDHASTE] to '1'.
- Maintains STATS[185|ANIMATION_ONLY_HASTE] to '0'.
2    :    Weak Haste
- (APR Rounded up)
- Displays Portrait Icon STATDESC[38|"Haste"]
- Maintains STATS[155|IMPROVEDHASTE] to '0'.
- Maintains STATS[185|ANIMATION_ONLY_HASTE] to '1'.

(All) Maintains [STATE_HASTED] on the target:
- Every active source of [STATE_HASTED] is counted against every active source of [STATE_SLOWED],  with the higher of the two  determining which state is functional, or neither if they are tied.
-- Haste Sources: Base State, Opcode:16 (Haste), Opcode:317 (Haste Alternate).
-- Slow Sources: Base State, Opcode 40 (Slow), Opcode 78*10 (Disease Slow), Opcode 78*13 (Disease Contagion).
- If STATS[155|IMPROVEDHASTE] is non-zero, effective APR is doubled, to a maximum of 10.
- Else, if STATS[185|ANIMATION_ONLY_HASTE] is non-zero, effective APR is rounded up, to a maximum of 5.
- Else, effective APR is increased by 1, then rounded down, to a maximum of 6.
- Doubles the creatures movement rate.
- Increases the creatures animation speed and the animation speed of Opcode[#140] effects. 
- Reduces the creatures Round timer used by Attacks, Modal abilities and "Auto-Pause: End of Round" in half(6s->3s). 
- Attacks per Round still cycle over a 2-Round period, but the displayed value reflects Attacks Per (6 seconds).
- Aura-Cleansing timer remains unchanged(6s).
- The frequency timer for the following opcodes is reduced to **%, (if greater than 1s):
- Opcode[#25], Poison 
- Opcode[#78], Disease 
- Opcode[#98], Regeneration 
- Opcode[#232], Spell: Cast on Condition 
- Opcode[#272], Use EFF File (at Frequency)

** : It's not consistent, but mostly around 30%, may be rounding issues with the timer:
Disease 1 per 2 seconds for 24 seconds deals 33 damage (36%)
Disease 1 per 3 seconds for 24 seconds deals 22 damage (36%)
Disease 1 per 4 seconds for 24 seconds deals 20 damage (30%)
Disease 1 per 6 seconds for 36 seconds deals 20 damage (30%)
Disease 1 per 8 seconds for 24 seconds deals 10 damage (30%)
Disease 1 per 8 seconds for 32 seconds deals 15 to 19 damage (26%) to (21%)
Disease 1 per 10 seconds for 30 seconds deals 10 damage (30%)
Disease 1 per 12 seconds for 24 seconds deals 5 to 8 damage (40%) to (25%)

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.

Sign in to follow this  

×
×
  • Create New...