Conditions and Spell Conditions
Thought I would add this as a place where we can all perhaps come and help one another in getting the Conditions and Spell Conditions added...as well as hopefully get some help if we get stuck on coding one.
I'm going to start off by adding some additional conditons to the list that is already in play, starting with a smaller list so hopefully we can move forward with the spell conditions alphabetically. Fight Defensively DONE Total Defense DONE Sitting/Kneeling Higher Ground DONE Running Flanking DONE Squeezing Concealment Cover Now I've always liked the concealment and cover to be reflective of how much cover/concealment they have, so I'll probably add items for 25%, 50%, 75% and 90% for each. Can anyone think of anything else to add? |
Have the First couple done. Will show my work in case anyone else can use the help...plus if I'm doing it wrong then maybe I can be shown a better, or proper way of doing it :).
So Fight Defensively I set to Is Conditon being checked so it shows up in the list as a checkbox option. Eval Script is set as follows Phase Pre-Level Users Priority 10000 Index 1 ~ If we're in output mode, don't do anything doneif (state.isoutput <> 0) ~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) ~ Subtract 4 to all attack bonuses hero.child[Attack].field[tAtk].value =-4 ~ Add 2 to AC Dodge Bonus hero.child[ArmorClass].field[tACDodge].value =2 |
What is meant by output mode and the "state.isoutput" part?
|
Also, for the Dodge bonus, remember dodge bonuses stack. Currently you are setting it to 2, so no matter what came before it will be 2. I would make it:
hero.child[ArmorClass].field[tACDodge].value += 2 |
also... -= 4 instead of = -4 for the same reason above.
|
Quote:
|
Quote:
|
Back to the grindstone. Updated original post.
Script for Flanking: ~ If we're in output mode, don't do anything doneif (state.isoutput <> 0) ~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) hero.child[Attack].field[tAtkMelee].value += 2 Script for Higher Ground: ~ If we're in output mode, don't do anything doneif (state.isoutput <> 0) ~ If we're not enabled, get out now doneif (field[pIsOn].value = 0) hero.child[Attack].field[tAtkMelee].value += 1 |
Sitting/Kneeling looks like it might be a problem. The AC values are different vs Melee and vs. Ranged. Not sure of the best approach for this. Since I can't ever remember having this come up in a game I might just leave this off the main list and have it under the Conditions where you can select it.
Now on to Running. |
All times are GMT -8. The time now is 05:28 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.