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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
gwydion2
Junior Member
 
Join Date: Sep 2010
Location: Cardiff, UK
Posts: 10

Old July 30th, 2015, 04:50 AM
I'm trying to create a class abilty similar to armour training, but adding AC to the armour and not giving the ability to move at normal speed.
Obviously I started with copying Armour training and modified from there.
I removed the speed adjustment portion and looking at the relevant area of scripting for armour check and max dex, I tried a simple approach first, adding the lines in red below.

Quote:
field[abValue].value += field[xCount].value
field[abValue2].value += field[xCount].value
field[abValue3].value += field[xCount].value

~ Improve the armor check penalty and max dex stats of our armors.
foreach pick in hero from BaseArmor where "EquipType.Armor"
eachpick.field[arArmorChk].value += field[abValue].value
eachpick.field[arMaxDex].value += field[abValue2].value
eachpick.field[tACArmor].value += field[abValue3].value
This didn't work, but when I replaced
[tACArmor] with [arBonus]
it did work, but not quite how I wanted it.
This increased the armour value of any armour by 1 but also increased the hero's natural armour bonus by 1 (per training level).

This seems to be getting somewhere, making me think I'm close to the answer, but I'm not sure how to fix it so the armour AC increases but not natural armour.
gwydion2 is offline   #1 Reply With Quote
 


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 05: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.