Mindee-BOT

Mindee-BOT Community => General Discussions => Topic started by: Yes Science on February 27, 2016, 02:52:54 pm

Title: Bot heal Spell and Attack spells
Post by: Yes Science on February 27, 2016, 02:52:54 pm
Hello everyone , Mindee BOT must uptade usables --   bot can heal and spells good . But must added when hp low not use attack spells just focus heal spells  [dumbme] , this function not have on the bot. When i hunt and hp down 40% my wiz use attck spells and i cant reflesh :( . Please add this function too

When attck spells stop --- Hp below = ..%
Rhanks [pokerface]
Title: Re: Bot heal Spell and Attack spells
Post by: =Mindee= on February 27, 2016, 04:06:23 pm
Wrong.
Healing spell is a primary spell. (Unless you're trapped)

Code: [Select]
                    if (this.usehealingspell.Checked && this.hpspellnumeric_val >= Client.getPercent(getPlayer().currenthp, getPlayer().maxhp) && getPlayer().currentmp >= (int)this.hpspellManaVal.Value && BotControlsN.isGood())
                        getPlayer().useItem((int)this.hpspellslot.Value, 4);
                    else if (this.usebuff.Checked && getPlayer().isMonstersAround(false, 3) && getPlayer().currentmp >= (int)this.buffmp.Value)
                        getPlayer().useItem((int)this.buffslot.Value, 3);
                    else if (this.usespell.Checked && getPlayer().currentmp >= (int)this.spellManaVal.Value)
                    {}
Title: Re: Bot heal Spell and Attack spells
Post by: MegaMind on February 27, 2016, 08:20:14 pm

Code: [Select]
                    if (this.usehealingspell.Checked && this.hpspellnumeric_val >= Client.getPercent(getPlayer().currenthp, getPlayer().maxhp) && getPlayer().currentmp >= (int)this.hpspellManaVal.Value && BotControlsN.isGood())
                        getPlayer().useItem((int)this.hpspellslot.Value, 4);
                    else if (this.usebuff.Checked && getPlayer().isMonstersAround(false, 3) && getPlayer().currentmp >= (int)this.buffmp.Value)
                        getPlayer().useItem((int)this.buffslot.Value, 3);
                    else if (this.usespell.Checked && getPlayer().currentmp >= (int)this.spellManaVal.Value)
                    {}
piece of heaven  [ummmm]