Junior Member
Join Date: May 2010
Posts: 21
|
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? Last edited by Segallion; May 25th, 2010 at 03:20 PM. Reason: Update on 5/25/2010 |
#1 |
Junior Member
Join Date: May 2010
Posts: 21
|
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 |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
What is meant by output mode and the "state.isoutput" part?
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
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 |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
also... -= 4 instead of = -4 for the same reason above.
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
On cheifweasel's repository site for both 3.5 and PFRPG their is a condition affect .user file that has about 8-10 spells and stuff already done. I remember like Bull's Str and Flanking and some others. Worth checking out so you don't have to recreate the whole wheel.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#6 |
Junior Member
Join Date: May 2010
Posts: 21
|
Quote:
|
|
#7 |
Junior Member
Join Date: May 2010
Posts: 21
|
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 |
#8 |
Junior Member
Join Date: May 2010
Posts: 21
|
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. |
#9 |
|
|