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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to use Flasks in combat and you get Frozen?

kuskner

Member
Joined
Oct 12, 2013
Messages
521
I would like to know if this is posible?

In The Library you get frozen a lot. It would be nice if the bot you use 1 or all 5 pots to dispel the frozen effect on your char.

Thanks
 
I had to test the current flask mechanics to be sure before I posted something you can use.

Here is a modified Exile.cs that contains the code that shows how to do this. It will be in the next version of the bot by default, but you have to uncomment the code you want to use.

Search for "CreateFlaskLogic" and look up first. The following were added: "BleedingFlasks", "ShockFlasks", "BurningFlasks", "FrozenFlasks". Those simply filter flasks by the mods they have to dispel those effects.

If you look at the new code in "CreateFlaskLogic" now, you'll see:
Code:
                // Uncomment this to use any flask which dispels the effect as soon as you have the effect
                /*new Decorator(ret => _flaskCd.IsFinished && Me.HasAura("frozen") && FrozenFlasks.Count() != 0,
                    new Action(ret =>
                    {
                        FrozenFlasks.First().Use();
                        _flaskCd.Reset();
                    })),*/

Simply uncomment that code, the /* and */ markers, and the bot should now use any flask that dispels frozen when you are frozen and in combat (since the CR executes when you are in combat). By default, chilled is not included, but you can uncommente the next section or any others you want as well.

Just keep in mind that if your fighting a boss that manages to crit you a lot and inflict those status, or you are standing in a shrine or other harmful AoE effect on the ground, the logic will also be triggered. If you run a corrupted area that has chilled ice patches, you definitely don't want to have chilled enabled.
 
Thank you Pushedx I will try it out later today :)

Tested: works uber good!
 
Last edited:
Back
Top