• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Changing Armor type with new material

Kaleb

Well-known member
IF I wanted to change the armor type from heavy to light would this be the correct script?

~ If we're armor, change our class if necessary - we become two classes
~ lighter.
if (container.parent.tagis[component.BaseArmor] <> 0) then
if (container.tagis[ArmorClass.Heavy] <> 0) then
perform container.delete[ArmorClass.Heavy]
perform container.assign[ArmorClass.Light]
perform container.delete[ArmorCateg.Slows


perform container.assign[Helper.Prof2Step]
elseif (container.tagis[ArmorClass.Heavy] <> 0) then
perform container.delete[ArmorClass.Heavy]
perform container.assign[ArmorClass.Light]
perform container.assign[Helper.Prof2Step]
endif
endif
 
Helper.Prof2Step is not a tag that currently exists in Pathfinder, and nothing in any existing script will recognize that it's supposed to mean anything.
 
Hi Mathias, fixed the helper.Pro2fStep When I changed it to 2 I thought it was the variable that changed the armor from heavy to light. Then I remembered that variables were assigned by .var

How would I change the armor check penalties and the max dex bonus for armors made of this material?
 
Back
Top