Infinite Monkeys
Community Developer
- Joined
- Jul 7, 2012
- Messages
- 224
The default ExampleRoutine bugs out a lot with Cyclone, but I made a couple of modifications that seem to make it work alright that people might be interested in. It could be improved massively as the 'best' way to use cyclone now is to right click as close to your character as possible - each time the cyclone starts it damages enemies, so using it at minimum range increases DPS massively. I'm too lazy to code that right now, though, so this'll have to do. In ExampleRoutine.cs:
Find:
Replace with:
Find:
Replace with:
You also need to set Max Melee Range to 40.
Find:
Code:
weight -= entity.Distance/2;
var m = entity as Monster;
if (m == null)
return;
Replace with:
Code:
if(entity.Distance < ExampleRoutineSettings.Instance.MaxMeleeRange)
weight += entity.Distance/2;
else
weight -= entity.Distance/2;
var m = entity as Monster;
if (m == null)
return;
Find:
Code:
// Do not consider inactive/dead mobs.
if (!m.IsActive)
return false;
// Ignore any mob that cannot die.
if (m.CannotDie)
return false;
Replace with:
Code:
// Do not consider inactive/dead mobs.
if (!m.IsActive)
return false;
// Ignore mobs that are too close to cyclone.
if (m.Distance < 5)
return false;
// Ignore any mob that cannot die.
if (m.CannotDie)
return false;
You also need to set Max Melee Range to 40.
Last edited: