Lone Wolf Development Forums  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


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 06:42 AM.


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