Looking to add some adjustments
I am looking to add a bunch of adjustment to speed up my gameplay a bit. Does all bonus damage stack and not need to be typed for example Spell: Prayer has luck to hit but untyped to damage?
Prayer (not full script) Code:
~ Add to our damage bonus Knowledge Devotion (have to make this insight bonus but not sure how) Code:
~ If we're not enabled, get out now |
Quote:
All the bonuses supplied by Prayer are Luck bonuses, so you should use the BonLuck field for Damage as well as Attack. (For the record, this adjustment already exists in the community set.) Quote:
To find all the fields on Damage, go to your portfolio and select the following in the menu: Develop -> Floating Info Windows -> Show Selection Fields -> Damage |
I'm aware prayer exists already but in the code the damage is untyped. I know how the damage in 3.5 are supposed to stack but sometimes when having insight, luck, other bonuses on at the same time they do not add up.
Thanks for the info on the floating window info as it will hopefully help in troubleshooting. |
Quote:
Fixed. For reference, the best way to provide bonuses such as this is as such: Code:
#applybonus[BonLuck,hero.child[Attack],1] |
I updated my Knowledge Devotion script
You are affected by a Knowledge Devotion (Ex) ability. Calculated effects: Insight bonus to attack and damage rolls. Code:
~ If we're not enabled, get out now |
An example of the bonus error.
My cleric using a +1 Longbow (Str 3) has +7 to hit and does 1d8+4 damage base. He casts Divine Favor (luck bonus) +2 for his level +9 to hit 1d8+6 damage Uses Knowledge Devotion (insight bonus) +4 by rolling +13 to hit and 1d8+8 damage (missing 2 damage) |
Quote:
Code:
#applybonus[BonInsight,hero.child[Damage],field[pAdjust].value] |
Thanks that seems to fix this.
I copied that code for damage from another Adjustment. That's what most of my edit for Hero Lab are find an example and duplicate. I was looking to add Rapid Shot to the Adjustments but it looks like Kendell DM created one that was never added to the community files. <<Post-Levels (Users) 10000>> Code:
~ If we're not selected, get out now. |
Quote:
Code:
hero.child[Damage].field[tDamBonus].value = maximum(hero.child[Damage].field[tDamBonus].value, field[pAdjust].value) Set the field tDamBonus equal to itself or field[pAdjust], whichever is higher. This means if *anything* else on the character adjusts that field, you may not get the desired result. During one of ShadowChemosh's d20 updates, he added the individual bonus fields so that it would be easier to stack bonuses. In general, that means anything scripted before that change was inherently limited and may not be the best means to accomplish what you're looking to do. Just something to keep in mind as you go along. |
Quote:
Looks like I was wrong. There's no script. I'll update the feat now. |
All times are GMT -8. The time now is 09:50 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.