Jump to content

Increased casting speed outside combat


Guest FastCastPlease

Recommended Posts

Guest FastCastPlease

Would it be feasible to increase casting speed outside of combat much like the how the increased movement speed tweak works? I thought about including Improved Alacrity with the haste buff but looking at the code on Git I really don't know how to go about it.

 

I'm doing a solo IWD run and find myself spending way too long pre-buffing every encounter. Can anyone help?

Link to comment

Yes.

You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does.

Here's how it's added.... to say line number 162.

COPY_EXISTING ~a7_wlk1.spl~ ~override~
LPF add_spell_effect
INT_VAR
    opcode = 188
    target = 2
    timing = 1
    parameter2 = 1
END

EDIT:

Could someone say why the lines 142-143 exist ? Cause the same code is excecuted at lines 145-146 ! And as far as I can tell, you shouldn't do the same thing twice.

Edited by Jarno Mikkola
Link to comment
Guest FastCastPlease
On 11/8/2020 at 12:50 PM, Jarno Mikkola said:

Yes.

You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does.

Here's how it's added.... to say line number 162.


COPY_EXISTING ~a7_wlk1.spl~ ~override~
LPF add_spell_effect
INT_VAR
    opcode = 188
    target = 2
    timing = 1
    parameter2 = 1
END

 

Thanks for the help, your code worked with a few small modifications. In case someone comes by this and wants to set it up:

  1. open increased_party_movement_speed.tpa in installdir/cdtweaks/lib/
  2. paste Jarno's code (I did it on line 83 because I'm on Enhanced Edition, not sure if necessary)
  3. capitalize add_spell_effect in the code (setup-cdtweaks.exe throws an error otherwise)
  4. re-run setup-cdtweaks.exe and re-install the speed mod

Kiitos avusta! 👏

Link to comment
Guest FastCastPlease
On 11/8/2020 at 12:50 PM, Jarno Mikkola said:

Yes.

You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does.

Here's how it's added.... to say line number 162.


COPY_EXISTING ~a7_wlk1.spl~ ~override~
LPF add_spell_effect
INT_VAR
    opcode = 188
    target = 2
    timing = 1
    parameter2 = 1
END

 

Thanks for the help, your code worked with a few small modifications. In case someone comes by this and wants to set it up:

  1. open increased_party_movement_speed.tpa in installdir/cdtweaks/lib/
  2. paste Jarno's code (I did it on line 83 because I'm on Enhanced Edition, not sure if necessary)
  3. capitalize add_spell_effect in the code (setup-cdtweaks.exe throws an error otherwise)
  4. re-run setup-cdtweaks.exe and re-install the speed mod

Kiitos avusta! 👏

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...