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

Random event?


xxXReichoXxx
 Share

Recommended Posts

THANK YOUUU it works :))

this is so cool. it wount hit the same damage with spell any more. that what i did

```
    Vital = Spell(spellNum).Vital
    Dim min11 As Integer
    Dim max11 As Integer
    Dim vital11 As Integer
    max11 = "101"
    min11 = "1"
    vital11 = "" & Int(Rnd * (max11 - min11))
    Vital = Vital + vital11
```(modcombat) castspell sub
Link to comment
Share on other sites

I've been carrying around an extension with me for a while now that creates a Random process.

All you have to do to put it to use is type: "Rand(min,max)".

ie;
```
Dim varNumber As Integer

varNumber = Rand(1, 10)
label1.Caption = varNumber

```
[modRandom.bas](http://puu.sh/b13V)

I'm not sure if you want to use it, thought I'd share it anyway. I believe it's from an older version of Eclipse but it works fine with anything I've put it to use with.
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...