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

Old March 12th, 2015, 07:15 PM
Quote:
Originally Posted by Paris.Crenshaw View Post
Thanks.

I'll try that setup.

One thing I should point out, though, is that, while the Ghost Touch Weapon Item power is only supposed to be used on magic weapons, applying it to any other item allows an incorporeal creature to use it without triggering a validation error. Frumple's Adjustments from the Community GM Pack showed me that, and it actually works. Using my script, when the amulet is not equipped an item like a headband has a validation error, but when you equip it, the error goes away. I can still use the BaseWep approach for how the amulet functions if the character is corporeal.

As for the subtype, what you're looking for would be

Code:
doneif (#hassubtype[stIncorpor] = 1)
Yep you are correct Sir! I just figured that out as I was playing in HL. If this is the Amulet of Grasping Souls I went a different way with the weight. I actually set the Encumbrance Strength to be the "Cha" score so that it is correct to the Text.

Pre-Attributes/10000
Code:
      ~ If not equipped get out now!
      doneif (field[gIsEquip].value = 0)
      ~ Only process if we are incorporeal
      doneif (#hassubtype[stIncorpor] = 0)

      ~ Set our Encubrance Strength to be our Charisma
      herofield[tEncumSTR].value += 10 + hero.child[aCHA].field[aStartMod].value

      ~ Find all gear items and give the Ghost Touch ability
      ~ so that these items can be worn without errors.
      foreach pick in hero from MyGear
        perform eachpick.assign[Ability.iGhostTch]
      nexteach
I am still working on the the part for Corporeal creatures weapon gizmos are being a pain...

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   #14 Reply With Quote