View Single Post
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