View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 21st, 2010, 09:19 AM
Spell: Bless
-Needed this for my own games currently so figured I should add it quick.
Code:
  <thing id="pBless" name="Bless" description="Bless fills your allies with courage. Each ally gains a +1 morale bonus on attack rolls and on saving throws against fear effects.\n\nBless counters and dispels bane." compset="InPlay">
    <fieldval field="pMinimum" value="1"/>
    <fieldval field="pMaximum" value="1"/>
    <fieldval field="pDuration" value="1 min./level"/>
    <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/>
    <eval phase="PreLevel" priority="10000"><![CDATA[
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Give a MORALE bonus to hit to all weapons
#applybonus[BonMorale,hero.child[Attack],field[pAdjust].value]]]></eval>
    </thing>

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.

Last edited by ShadowChemosh; November 24th, 2010 at 09:33 PM. Reason: Fixed how I was applying bonus to attack rolls.
ShadowChemosh is offline   #29 Reply With Quote