• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

implementing Haste for Natural Attacks

Delium

New member
If this the wrong place for this, please move it.

It is possible to make Haste work for Natural Attacks, but you have to add an Adjustment, and two Procedures.

!!Use at your own risk!!

I'll start with the actual change then work my way back up the stack to make it usable.
First add a Procedure copied from AdjExtraAt
Give it a name, I used AdjExNatAt

Change the script to:
Code:
    ~ Timing: PostLevel/10000
    ~ This procedure is designed to give a non-stacking extra
    ~ attack from spells like Haste or Blessing of Fervor.

if (field[pChosen].ischosen <> 0) then
      perform field[pChosen].chosen.assign[Helper.ExtraHigh]
    endif

    foreach pick in hero from BaseWep where "!Helper.NatAttSpec & !wGroup.Natural & !Helper.ExtraHigh"
      perform eachpick.assign[Helper.ExtraHigh]
      nexteach
save the script (you could just added the new code in the middle but I didn't want to try to explain that).

Add another Procedure copied from HasteComb.
Name it: I used HasteyCom

change
call AdjExtraAt
to
call AdjExNatAt

save the script.

Add an Adjustment copied from Haste.
Give it a name and a Unique ID (I used 'Hastey' and Hastey).

Change the Show Menu field to: Custom Menu
In Custom Expression enter: component.BaseWep & wFtrGroup.Natural

Click Eval Scripts
If you are on the script named 'Haste move' do the steps in the Quote, if not skip down.
You will have to recreate this script because, as far as I can tell, you cannot switch between scripts if there is more than one.
Copy the contents of the script a notepad window.
Take a screen shot of the window.
Delete 'Haste move'
In the 'Haste attack, save and AC' script change
call HasteComb
to
call HasteyCom

If you had to do the the previous quote you gotta do this one too.
Click 'Click to add another eval script'
Paste copied the script from notepad into the new blank script
Name it 'Haste move'
Change its Phase, Priority, and Index to the correct settings (I used Final Phase, 9900, and 1, respectively)

hit OK

Save your Adjustment.

Hit Test Now!

Once it reloads your character you should have a new Spell Adjustment available named 'Hastey' which does all the same stuff as Haste but also supplies you a drop drown to select a natural attack.
 
Back
Top