Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old February 23rd, 2014, 01:39 AM
Correct me if I'm wrong, but the hasted condition is not correct.

It is missing one of thr the primary reason that people haste other people - the extra attack on a full attack.

The "Speed" property of weapon does it, but is there no way to do it in the haste condition? I tried various ways to get the item property code into a copy of the haste condition, but i could never get it to work. Does anyone have any idea how to do this? (until the devs can fix the hasted condition) (can it be fixed?)


This is the code for the item property: which works:

var result as number
result = container.parent.assign[Helper.ExtraHigh]



This is the current code for the condition:


~ If we're not enabled, get out now
if (field[pIsOn].value = 0) then
done
endif

~ Add a +30 or our speed enhancement bunus, whichever is lower
if (hero.child[Speed].field[tSpeed].value >= 30) then
hero.child[Speed].field[BonEnhance].value = maximum(hero.child[Speed].field[BonEnhance].value, 30)
elseif (hero.child[Speed].field[tSpeed].value < 30) then
var bonus as number
bonus = hero.child[Speed].field[tSpeed].value
hero.child[Speed].field[BonEnhance].value = maximum(hero.child[Speed].field[BonEnhance].value, bonus)
endif

~ Add to our attack bonus
hero.child[Attack].field[Bonus].value += 1

~ Add to our armor class
hero.child[ArmorClass].field[tACDodge].value += 1

~ Add to our Ref saves
container.child[vRef].field[Bonus].value = container.child[vRef].field[Bonus].value + 1


------------------
mirtos is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 23rd, 2014, 03:38 AM
I'll check it out. Thanks.
Sendric is offline   #2 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 24th, 2014, 05:45 AM
Add the following to the script you pasted above (it is located in 3.5 - Players Handbook 1.user in the community set):

Code:
      ~ Add an extra attack to our weapons
      foreach pick in hero from BaseWep where "!Helper.ExtraHigh"
        perform eachpick.assign[Helper.ExtraHigh]
      nexteach
I've added this for the next community release, so you don't need to worry about losing it with the next update.

Last edited by Sendric; February 24th, 2014 at 05:47 AM.
Sendric is offline   #3 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old February 24th, 2014, 09:32 PM
interesting, i have the latest community set, but i dont have it in Players Handook 1.user file. But thanks.
mirtos is offline   #4 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 25th, 2014, 04:59 AM
Quote:
Originally Posted by mirtos View Post
interesting, i have the latest community set, but i dont have it in Players Handook 1.user file. But thanks.
It should be the first option in the Adjustment tab. It would be very strange indeed if you didn't have it. You are synced up to 1.10, yes?
Sendric is offline   #5 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old February 26th, 2014, 06:40 PM
lemme check.
Yes, Lawful_G 1.10

And what I copied was a copy of the "Hasted" adjustment.

the first option in the adjustment tab is conditions, and the first condition is "Awakened Undead".
mirtos is offline   #6 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 27th, 2014, 04:26 AM
Quote:
Originally Posted by mirtos View Post
lemme check.
Yes, Lawful_G 1.10

And what I copied was a copy of the "Hasted" adjustment.

the first option in the adjustment tab is conditions, and the first condition is "Awakened Undead".
Sorry. Should have been more clear. I meant the Adjustment tab in the editor when you open up "3.5 - Players Handbook 1.user".
Sendric is offline   #7 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old February 27th, 2014, 08:52 AM
Quote:
Originally Posted by Sendric View Post
Sorry. Should have been more clear. I meant the Adjustment tab in the editor when you open up "3.5 - Players Handbook 1.user".
Ill check that when i get home.
mirtos is offline   #8 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old February 27th, 2014, 05:42 PM
This is the code my Players Handbook 1.user


~ If we're not enabled, get out now
if (field[pIsOn].value = 0) then
done
endif

~ Add a +30 or our speed enhancement bunus, whichever is lower
if (hero.child[Speed].field[tSpeed].value >= 30) then
hero.child[Speed].field[BonEnhance].value = maximum(hero.child[Speed].field[BonEnhance].value, 30)
elseif (hero.child[Speed].field[tSpeed].value < 30) then
var bonus as number
bonus = hero.child[Speed].field[tSpeed].value
hero.child[Speed].field[BonEnhance].value = maximum(hero.child[Speed].field[BonEnhance].value, bonus)
endif

~ Add to our attack bonus
hero.child[Attack].field[Bonus].value += 1

~ Add to our armor class
hero.child[ArmorClass].field[tACDodge].value += 1

~ Add to our Ref saves
container.child[vRef].field[Bonus].value = container.child[vRef].field[Bonus].value + 1
mirtos is offline   #9 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 28th, 2014, 04:52 AM
Yep. Add the code I posted above to that, and you'll be all set.
Sendric is offline   #10 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:42 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.