Page 1 of 1

mana/hp management

Posted: Thu Aug 13, 2009 11:03 pm
by Glopo
hello,

thx for the bot.

i want to know if is possible to use a spell like rising tide only if my mana is upper than a % ?
and same for hp

thx for answer

Re: mana/hp management

Posted: Fri Aug 14, 2009 1:54 pm
by d003232
Glopo wrote:hello,

thx for the bot.

i want to know if is possible to use a spell like rising tide only if my mana is upper than a % ?
and same for hp

thx for answer
For healing and hp point check with the option hpper see here.

For a check of your mana, you have to set the skill level at your skills in your profile. In my opinon you don't really need that. It's bette to have enough mana potions. :-)

Re: mana/hp management

Posted: Fri Aug 14, 2009 5:14 pm
by Glopo
is not for the mana cost is just for dont breack my emergency action.
btw skill level not realy change my mana cost
also thx for answer

Re: mana/hp management

Posted: Fri Aug 14, 2009 7:07 pm
by d003232
Glopo wrote:is not for the mana cost is just for dont breack my emergency action.
btw skill level not realy change my mana cost
also thx for answer
Skill level is only used by the bot to calculate the mana cost of your cast. And if there is not enough mana, the bot will not use that skill.

I don't really understand what you mean with 'dont breack my emergency action'?

Re: mana/hp management

Posted: Fri Aug 14, 2009 8:00 pm
by Glopo
ok

[<Skill name="PRIEST_URGENT_HEAL" hotkey="VK_6" priority="150" hpper="35" inbattle="true"/>
<skill name="PRIEST_HOLY_AURA" hotkey="VK_9" priority="200" hpper="25" inbattle="true"/>
<skill name="PRIEST_REGENERATE" hotkey="VK_0" priority="110" hpper="85" inbattle="true"/>]

this is my skill for emergency like got 2or 3 agro on my face.

but every 3/4hours i need to go repair my stuff.

also i was think if i cast sometimes a spell like rising tide i don t need to repair anymore.

but :
1)the cast time of rising time is 2sec and in this time i can t do anything else (so i die if i got to many mob)
2) rising tide cost a lot of mana (for my rogue/priest) and if i chain rising tide a got not enought mana for other spell (regen potion time is too low)

so

i was think at something about that

[<skill name="PRIEST_RISING_TIDE" hotkey="VK_4" priority="100" mpper>="90" inbattle="true"/>]

or

[<skill name="PRIEST_RISING_TIDE" hotkey="VK_4" priority="100" hpper>="90" inbattle="true"/>]

or
[<skill name="PRIEST_RISING_TIDE" hotkey="VK_4" priority="100" hpper>="90" mpper>="90" inbattle="true"/>]

that make sens for you ?

somethink like that is possible ?

(priority 1 is too mutch too)

(sry my english is very bad)

i also translate in french if is usefull for anybody just dl

Re: mana/hp management

Posted: Sat Aug 15, 2009 1:50 am
by d003232
If you post your whole profile, I will check it for you.

Please use the [ CODE] tag for posting coding like your profile or parts of it.

And thx for the french translation!

Re: mana/hp management

Posted: Sat Aug 15, 2009 7:08 am
by Glopo
ok this is my profil

did you understand my pb ?

(i just update the scriptand i got some error this si the error log)

[Sat Aug 15 14:29:30 2009 : ...Desktop/rune bot/micromacro/scripts/rom/settings.lua:191: attempt to index field '?' (a nil value)
Sat Aug 15 14:29:30 2009 : Execution error: Runtime error
Sat Aug 15 14:36:12 2009 : Executing script 'bot.lua'
==================================================

Sat Aug 15 14:36:12 2009 : ...Desktop/rune bot/micromacro/scripts/rom/settings.lua:191: attempt to index field '?' (a nil value)
Sat Aug 15 14:36:12 2009 : Execution error: Runtime error]

(probleme solve i just delete this :

[bindHotkey("TARGETNEARESTFRIEND");]

and now is work)

Re: mana/hp management

Posted: Sat Aug 15, 2009 8:57 am
by d003232
Glopo wrote:ok this is my profil

did you understand my pb ?

(i just update the scriptand i got some error this si the error log)

[Sat Aug 15 14:29:30 2009 : ...Desktop/rune bot/micromacro/scripts/rom/settings.lua:191: attempt to index field '?' (a nil value)
Sat Aug 15 14:29:30 2009 : Execution error: Runtime error
Sat Aug 15 14:36:12 2009 : Executing script 'bot.lua'
==================================================

Sat Aug 15 14:36:12 2009 : ...Desktop/rune bot/micromacro/scripts/rom/settings.lua:191: attempt to index field '?' (a nil value)
Sat Aug 15 14:36:12 2009 : Execution error: Runtime error]

(probleme solve i just delete this :

[bindHotkey("TARGETNEARESTFRIEND");]

and now is work)
Thx for the bug message. I will correct that.

and for your profile:

Code: Select all

<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="mana" />
You can delete that. It not anymore needed.

Code: Select all

<skill name="PRIEST_REGENERATE" hotkey="VK_0" priority="110" />
Use it without limitations. So you can use the regenerate also after the fight an it will start at the 'HP_LOW' value 85. I personaly would even start at 95 or so. Just after taking the first damage.

I don't think it is very usefull, to use PRIEST_RISING_TIDE as a rouge while in fight? Perhaps it would be an option to use it as an opener? But for that I suppose we need some code changes to use that cast in a range from 200? It is a cast with really low mana consumption.

How do you pull your mobs? Do you use a range attack? Like using a throwing knife. I would suggest that.

Re: mana/hp management

Posted: Sat Aug 15, 2009 9:11 am
by Glopo
ok i ll do

i pull mob by cac agro

my probleme is for repair stuff when is in low dura i can t do damage.

i ll work on autorepair script i think is better and simple voice

the script got a scan durability function ?

btw thx for you time an answer

Re: mana/hp management

Posted: Sat Aug 15, 2009 9:33 am
by d003232
Glopo wrote:ok i ll do

i pull mob by cac agro

my probleme is for repair stuff when is in low dura i can t do damage.

i ll work on autorepair script i think is better and simple voice

the script got a scan durability function ?

btw thx for you time an answer
Just read here for doint a autorepair waypoint path. You can do a time based or fight based check to load the autorepair path.

Re: mana/hp management

Posted: Thu Aug 15, 2013 3:19 pm
by Bill D Cat
Sorry for necro'ing such an old thread, but it was the only one that came up on a forum search regarding the same topic that I am interested in. I understand how the hpper tag is used to trigger healing skills or potions when your health drops below a certain threshold, but I could not find any tag to cast a skill if your mana was below a similar threshold.

Mostly this would be useful for the Priest/Mage's Angel's Blessing and Angel's Carol elites, and the Knight's Holy Power Explosion (formerly Mana Return). If I have to do my own coding to achieve this functionality, I will share it with the community when I get it finished. I just thought I would ask in case I was heading off to reinvent the wheel.

Re: mana/hp management

Posted: Thu Aug 15, 2013 3:33 pm
by rock5
Try MaxManaPer
-- Must have less than this % Mana to use