Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old December 22nd, 2015, 10:13 AM
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."]
throws an error message and the script below also throws an error message.

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."]
Any ideas on achieving this?

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
bodrin is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old December 22nd, 2015, 10:27 AM
I think you have an extra bracket in there, it should be:

#appendesc[spIceSto3, "blahblahblah"]
AndrewD2 is offline   #2 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old December 22nd, 2015, 11:06 AM
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."]
which resulted in

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.
bodrin is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 22nd, 2015, 11:17 AM
Quote:
Originally Posted by bodrin View Post
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."]
This script is not formatted correctly as your missing ].
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."]
Note: if your not using the "macro" version you are going to replace the whole spell description instead of appending to it.

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.
ShadowChemosh is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 22nd, 2015, 11:22 AM
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.
ShadowChemosh is offline   #5 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old December 22nd, 2015, 11:48 AM
If you have line breaks in your #appenddesc[] I think you have code the line breaks with \n
AndrewD2 is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 22nd, 2015, 12:06 PM
Quote:
Originally Posted by AndrewD2 View Post
If you have line breaks in your #appenddesc[] I think you have code the line breaks with \n
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.
ShadowChemosh is offline   #7 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old December 22nd, 2015, 12:22 PM
Ah yeah, brain wasn't remembering what type of bracket/brace to use so I just went with the \n
AndrewD2 is offline   #8 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 22nd, 2015, 12:29 PM
Quote:
Originally Posted by AndrewD2 View Post
Ah yeah, brain wasn't remembering what type of bracket/brace to use so I just went with the \n
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.
ShadowChemosh is offline   #9 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old December 22nd, 2015, 12:47 PM
Really? I thought backslash n was the standard, but as both work I guess it doesn't matter.
Aaron is offline   #10 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:15 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.