Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Hi,
As the title suggest I'm attempting to Modify / Append the Ice Storm spell description. All at Render 10000 The #appenddesc macro here Code:
~ Lets add to our modified Ice Storm spell information for reference #appenddesc[spIceSto3], "Three times per day, the wearer of the crown can call down a storm of razor sharp bone shards. Similar to {i}ice storm{/i} with the following differences. These shards deal 5d6 points of slashing damage to all creatures in a 10-foot-radius burst and each creature bleeds on its turn for an additional 1d6 points of damage (this bleed can be healed or stopped as normal). Creatures in the area can attempt a DC 16 Reflex save to halve the damage and negate the bleed."] Code:
~ Lets add to our modified Ice Storm spell information for reference perform state.thing[spIceSto3].amendthing[description,"Three times per day, the wearer of the crown can call down a storm of razor sharp bone shards. Similar to {i}ice storm{/i} with the following differences. These shards deal 5d6 points of slashing damage to all creatures in a 10-foot-radius burst and each creature bleeds on its turn for an additional 1d6 points of damage (this bleed can be healed or stopped as normal). Creatures in the area can attempt a DC 16 Reflex save to halve the damage and negate the bleed."] Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I think you have an extra bracket in there, it should be:
#appendesc[spIceSto3, "blahblahblah"] |
#2 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Nope, but worth trying.
Hero Lab was forced to stop compilation after the following errors were detected: Syntax error in 'eval' script for Thing 'ioB0MFSCBo' (Eval Script '#1') on line 3 -> Invalid macro reference encountered in script also tried Code:
~ Lets add to our modified Ice Storm spell information for reference perform state.thing[spIceSto3.amendthing[description,"Three times per day, the wearer of the crown can call down a storm of razor sharp bone shards. Similar to {i}ice storm{/i} with the following differences. These shards deal 5d6 points of slashing damage to all creatures in a 10-foot-radius burst and each creature bleeds on its turn for an additional 1d6 points of damage (this bleed can be healed or stopped as normal). Creatures in the area can attempt a DC 16 Reflex save to halve the damage and negate the bleed."] Hero Lab was forced to stop compilation after the following errors were detected: Syntax error in 'eval' script for Thing 'ioB0MFSCBo' (Eval Script '#1') on line 3 -> Invalid thing transition syntax used Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
Last edited by bodrin; December 22nd, 2015 at 11:11 AM. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Code:
~ Lets add to our modified Ice Storm spell information for reference perform state.thing[spIceSto3].amendthing[description,"Three times per day, the wearer of the crown can call down a storm of razor sharp bone shards. Similar to {i}ice storm{/i} with the following differences. These shards deal 5d6 points of slashing damage to all creatures in a 10-foot-radius burst and each creature bleeds on its turn for an additional 1d6 points of damage (this bleed can be healed or stopped as normal). Creatures in the area can attempt a DC 16 Reflex save to halve the damage and negate the bleed."] 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. |
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Another note is that BaseSpell component has a field called "DescAppend" that will append any text placed into it on to the spell description. This is very nice if you are placing a note onto "many" spells as its less overhead then affecting Things using amendthing.
Just an FYI as I have such a thing setup in my houserules file. Here is an example in use: Timing: Final/50000 Code:
~ Finished if not a Arcane or Divine caster doneif (hero.tagis[Hero.Caster] <> 1) ~ Give damage CL text on to all spells on character foreach pick in hero from BaseSpell eachpick.field[DescAppend].text &= "{b}Shadow d20:{/b} If this spell does hit point damage it gains a bonus equal to your caster level (" & signed(eachpick.field[sCL].value) & ")." nexteach 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. |
#5 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
If you have line breaks in your #appenddesc[] I think you have code the line breaks with \n
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Just a note {BR} also works so you will see that in some of LW scripts. Honestly they both seem to work but when I asked for d20 stuff Colen said the current standard is to use {BR} instead of \n.
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. |
#7 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Ah yeah, brain wasn't remembering what type of bracket/brace to use so I just went with the \n
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Please we both know you are just posting to up your "Post Count".
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. |
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Really? I thought backslash n was the standard, but as both work I guess it doesn't matter.
|
#10 |
|
|