Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Messed up class only??


alaskiden
 Share

Recommended Posts

When I make a spell for class only for example I make a wizard spell, and then make the item so the person can learn the spell. I make a wizard and get the item but then it says this is for warriors only? I then check and it says that both the item and spell says Wizard. ???
Link to comment
Share on other sites

  • 2 weeks later...
I just fixed this myself lol. Robin accidentally had two important statements in the wrong place. No worries. Not a problem. The class box SHOULD have a 'None' option. But it doesn't, and I'll show you why. In Client>modGameEditors>SpellEditorInit change this code:

```

' build class combo

.cmbClass.AddItem "None"

.cmbClass.Clear

```
to

```

' build class combo

.cmbClass.Clear

.cmbClass.AddItem "None"

```
The 'None' option was added but then immediately removed. Without the 'None' option, your selection is returning the wrong index. so if you have:

Warriors

Wizards

and you select Wizards, it's going to return that you selected Warriors because it doesn't account for the missing 'None'. Hope this is understood. I believe this will solve your problem… Did for me.
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...