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

Old March 11th, 2018, 11:38 AM
Looking at your script again I would also not use tagreplace[] as its not really needed. xFly is designed to use the BEST maneuverability rating regardless of how many tags are on it.

Just need this:
Code:
~ Improve our maneuverability based on how many copies of this feat we have.
field[abValue].value += hero.tagcount[Ability.XXXXXXXX]

if (field[abValue].value = 1) then
  perform hero.childfound[xFly].assign[Maneuver.Poor]
elseif (field[abValue].value = 2) then
  perform hero.childfound[xFly].assign[Maneuver.Average]
elseif (field[abValue].value = 3) then
  perform hero.childfound[xFly].assign[Maneuver.Good]
elseif (field[abValue].value >= 4) then
  perform hero.childfound[xFly].assign[Maneuver.Perfect]
endif
Which goes back to my idea of nothing in here requires early timing. Its always better to get away from early timing if you can.

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