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

[EO 2.0][Fixed] Multiple Item Drops and Percentile Chances


Scott
 Share

Recommended Posts

  • Replies 139
  • Created
  • Last Reply

Top Posters In This Topic

All the download had was the DropChance scrollbar and then the small edits to include the DropChance value into where txtChance, scrlNum and scrlValue are changed, right?

If you don't have time to do it and if I remember, I'll upload a frmEditor_NPC with those changes in it using EO2.0 tonight.
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
> A scrollbar can only go up to 255 in vb6\. If you want it to go higher change it to a text box.

I thought a scrollbar's maximum was the same as an integer? (32767)

Put a regular scrollbar on a form and take a look at the max.

> I can't put more than 256,i get Overflow at NPC(EditorIndex).DropItem(DropIndex) = scrlNum.Value

If you're trying to increase max drops, change this (in mod constants)

```

Public Const MAX_RES_DROPS As Byte = 10

```

to this

```

Public Const MAX_RES_DROPS As Integer = 10

```
Link to comment
Share on other sites

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...