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

[Help]Curse

diavolaki

New Member
Joined
Jun 3, 2014
Messages
16
Reaction score
0
Hello everyone again
How could i make the bot curse everysingle monsters or 2+ and have more than 1 curse?
I tryed a few things in the exile script or what ever you call it and its failled :(
 
In the "Routines\Exile\Exile.cs" file, which is the CR the bot will execute, curse logic is in the RegisterCurse function. By default curses are used on Rare/Unique mobs, or when there are 4 or more mobs around the best target, If you take a look at that code:
Code:
private void RegisterCurse(string spell, string curse)
        {
            // 5+ mobs near the best target.
            RegisterCurse(spell, curse, ret => BestTarget.IsCursable && (BestTarget.Rarity >= Rarity.Rare || NumberOfMobsNear(BestTarget, 10, 4)));

            // If you want to curse everything.
            //RegisterCurse(spell, curse, ret => BestTarget.IsCursable);
        }

you can comment out the first line and uncomment the second if you want your bot to curse everything instead.

Multiple curses are not handled correctly in Exile, but they will be supported in the new Beta setup.
 
Ah oh well thanks again and i like this bot +1000 . I can w8 till beta :)
 
Back
Top