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
kiligir
Junior Member
 
Join Date: Jul 2014
Posts: 4

Old July 9th, 2015, 02:05 AM
tl;dr How do you make a spell adjustment that adds a racial special and energy resistance?

Okay, so I've done some digging around. First, the link to the spell in question.

So, I need a control under spells to do this, since it's a lot. I figured I'd look into it, but... this is a bit over my head.

I need to add
  • low-light vision
  • darkvision 60 feet
  • DR 10/evil
  • three immunities
  • a pair of resistances
  • a racial save against poison
  • and the protective aura and truespeech abilities.

I can make the control and give the DR/evil, at least. I think I cannibalized correctly.

Code:
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

      ~ Apply DR Evil to the hero
      #applydr[xDamRdEvil,10]
I need to add the racial specials (raLowLight), (raDarkVis), (xImmPetri), (raImmAcid), (raImmCold) (raProtAura) and (raTrueSpee) somehow, but I don't know the function. Adding the energy resistance seems easy enough to cannabalize, but since I'm here... may as well ask.
kiligir is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 9th, 2015, 08:47 AM
Your best way to figure this stuff out is to look at an existing spell adjustment and see how it does it. So maybe look at the spell adjustment "Darkvision" to see how it gives Darkvision 60ft. You can do this on the editor Adjustment tab using "New (Copy)" button.

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   #2 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 08:55 AM.


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