View Single Post
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old March 29th, 2017, 01:11 AM
After hours of bumbling around, I finally fixed secondary classes (VMC) for Gestalt.

On the Class Level thing in the editor, add another eval script at First 200

Code:
      ~ If we are under level 3 don't do anything as we will cause errors
      ~ Once we have three classes then we can modify it down to two.
      doneif (herofield[tLevel].value < 3)

      foreach pick in hero where "component.SecClass"
        eachpick.field[cTotalLev].value += -2
      nexteach
This runs shortly after the First 185 non-Gestalt script that sets cTotalLev but before the scripts that update the other fields like cMagicLev, so those all inherit the updated level value. This causes the secondary class level to match the Gestalt level and grant secondary class bonuses at the proper level.
Valdacil is offline   #145 Reply With Quote