Jump to content

Recommended Posts

2 hours ago, warmanebotter said:

Hi,

I am looking to randomize certain spells. For example, Buff "Ice armor" sometimes after 30 minutes, sometimes in 15..etc. I do not want the bot to cast it in the same pattern.

Random randomNumber = new Random();
int iceArmorTimer = randomNumber.Next(15, 30); // Makes the int iceArmorTimer into a random number between 15 and 30
On 5/10/2020 at 5:27 AM, Ordush said:

Random randomNumber = new Random();
int iceArmorTimer = randomNumber.Next(15, 30); // Makes the int iceArmorTimer into a random number between 15 and 30

Can I do that in xml profile ?
Sorry for my ignorance, but I have zero knowledge of coding. I try to learn and apply.

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
×
×
  • Create New...