What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Make the bot curse everythings

Sapin32

Member
Joined
Jun 7, 2010
Messages
100
Reaction score
0
Hi, I would like to change the routine setting so that my bot curse every mobs.

I found in the exampleroutine this:

// Handle curse logic - curse magic+ and packs of 4+, but only cast within MaxRangeRange.
var checkCurses = myPos.Distance(cachedPosition) < ExampleRoutineSettings.Instance.MaxRangeRange &&
(cachedRarity >= Rarity.Magic || Utility.NumberOfMobsNear(bestTarget, 20) >= 3);

I believe what I need to change is there but I tried many change and northing worked. If someone can enlight me that would be nice !
 
Hi, I would like to change the routine setting so that my bot curse every mobs.

I found in the exampleroutine this:

// Handle curse logic - curse magic+ and packs of 4+, but only cast within MaxRangeRange.
var checkCurses = myPos.Distance(cachedPosition) < ExampleRoutineSettings.Instance.MaxRangeRange &&
(cachedRarity >= Rarity.Magic || Utility.NumberOfMobsNear(bestTarget, 20) >= 3);

I believe what I need to change is there but I tried many change and northing worked. If someone can enlight me that would be nice !

It should just be:

Code:
// Handle curse logic - curse all mobs in range.
var checkCurses = myPos.Distance(cachedPosition) < ExampleRoutineSettings.Instance.MaxRangeRange;

The original code checks to make sure the mob is either a rare+, or there are at least 3 mobs around the target. Removing those checks should make it curse any target in range.

Make sure you exit the bot, save your changes, and then start the bot again for your new code to be loaded.
 
Back
Top