Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Arkadious
Junior Member
 
Join Date: Mar 2021
Location: New Zealand
Posts: 18

Old September 8th, 2021, 05:24 PM
Background info: I'm trying to fix an issue with the Fused Summoner where it doesn't give the correct base attack bonus for wearing the Eidolon. I haven't even altered the code for cSumFusEid Id yet, and I'm getting an error when compiling.

I've run into an error regarding a script already implemented in Herolab.

When I duplicate the cSumFusEid Id in Herolab and run compile, it gives me this error:
Code:
Non-existent sortset 'explicit' referenced by script
When I have a look in the script, completely unaltered, I find the line its referencing:
Code:
      ~ build up a description of our Eidolon and include that in our description
      foreach pick in gizmo from BaseRace
        field[CustDesc].text &= eachpick.field[name].text & "{br}"
        field[CustDesc].text &= hero.tagabbrevs[Alignment.?,""] & " "

        ~This only handles the sizes that are available to an Eidolon, not the
        ~full range of sizes in the game
        if (eachpick.field[rSizeMod].value = -1) then
          field[CustDesc].text &= "Small "
        elseif (eachpick.field[rSizeMod].value = 0) then
          field[CustDesc].text &= "Medium "
        elseif (eachpick.field[rSizeMod].value = 1) then
          field[CustDesc].text &= "Large "
        elseif (eachpick.field[rSizeMod].value = 2) then
          field[CustDesc].text &= "Huge "
          endif
        field[CustDesc].text &= "outsider{br}"
        nexteach

      var ac as number
      ac = field[abValue3].value + 10
      field[CustDesc].text &= "{b}AC{/b} " & ac & " (" & signed(field[abValue3].value) & " natural){br}"

      var hpbonus as number
      var hdcount as number
      foreach pick in gizmo from BaseHitDie
        hpbonus += eachpick.field[cHPBonus].value
        hdcount += 1
        nexteach

      field[CustDesc].text &= "{b}hp{/b} " & field[trkMax].value & " (" & hdcount & "d10" & signed(hpbonus) & "){br}"

      var attrtext as string
      var attrabbrev as string
      foreach pick in gizmo from BaseAttr sortas explicit

        ~ the abbreviation is stored in ALL CAPS, and we want title case
        attrabbrev = eachpick.field[aAbbr].text
        attrabbrev = left(attrabbrev,1) & right(lowercase(attrabbrev),2)

        attrtext = splice(attrtext,"{b}" & attrabbrev & "{/b} " & eachpick.field[aFinalVal].value,", ")
        nexteach

      field[CustDesc].text &= attrtext & "{br}"

      field[CustDesc].text &= "{b}Base Atk{/b} " & signed(field[abValue].value) & "{br}"

      var evoltext as string
      foreach pick in gizmo from RaceCustom where "!Hide.All"
        evoltext = splice(evoltext,eachpick.field[livename].text,", ")
        nexteach

      field[CustDesc].text &= "{b}Evolutions{/b} " & evoltext

      ~ now that we're done building it, append it to our description (the
      ~ printed output also uses this text, but it uses the raw CustDesc field)
      #appenddesc[cSumFusEid,"{b}Eidolon{/b}{br}" & field[CustDesc].text]

      ~ display our current HP as part of our name
      field[livename].text &= " (" & field[trkLeft].value & "/" & field[trkMax].value & " HP)"
What should replace it with to fix the error?

Last edited by Arkadious; September 8th, 2021 at 05:36 PM.
Arkadious is offline   #1 Reply With Quote
Reply

Thread Tools
Display Modes

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


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