Senior Member
Join Date: Oct 2011
Posts: 865
|
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 ------------------ |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
I'll check it out. Thanks.
|
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
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 Last edited by Sendric; February 24th, 2014 at 05:47 AM. |
#3 |
Senior Member
Join Date: Oct 2011
Posts: 865
|
interesting, i have the latest community set, but i dont have it in Players Handook 1.user file. But thanks.
|
#4 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
|
#5 |
Senior Member
Join Date: Oct 2011
Posts: 865
|
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". |
#6 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Sorry. Should have been more clear. I meant the Adjustment tab in the editor when you open up "3.5 - Players Handbook 1.user".
|
#7 |
Senior Member
Join Date: Oct 2011
Posts: 865
|
|
#8 |
Senior Member
Join Date: Oct 2011
Posts: 865
|
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 |
#9 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Yep. Add the code I posted above to that, and you'll be all set.
|
#10 |
|
|