View Single Post
Doskious
Junior Member
 
Join Date: Jul 2011
Posts: 28

Old January 18th, 2020, 03:46 PM
Howdy folks! I've encountered a bug; for the Dragonlance Wizard of High Sorcery PrC, there's a pre-req that's supposed to be checking for the ability to cast 2nd-level Arcane spells that's written like this:

Code:
@valid = 1

if (tagis[Hero.PrepArc] <> 0) then
  if (#cancastarcane[] >= 2) then
     @valid = 0
   endif
  endif
And I'm pretty sure the truth-values should be inverted, like this:

Code:
@valid = 0

if (tagis[Hero.PrepArc] <> 0) then
  if (#cancastarcane[] >= 2) then
     @valid = 1
   endif
  endif

As far as the whole Git-thing...

Git, and GitHub, and the whole application of branching Version Control is confusing and frustrating and fraught, especially in a Windows-OS-based development environment, which is (for the most part) implied for HeroLab stuff.

That said, I write software for a living, and I couldn't do my job without it. I'm reasonably familiar with it, and I'd be happy to try to explain stuff if there's interest...
Doskious is offline   #226 Reply With Quote