Jump to content

How to randomize a spell ?


Photogenic

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

34 minutes ago, warmanebotter said:

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

Not without any coding knowledge

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