Page 1 of 1

PRIEST_WAVE_ARMOR?

Posted: Thu Dec 09, 2010 9:47 pm
by deathdealer1252
Trying to make it so it cast this every 20 seconds (how long the cooldown is), but can not seem to get it, has anyone already done this?

Re: PRIEST_WAVE_ARMOR?

Posted: Thu Dec 09, 2010 9:59 pm
by Administrator
What's the problem? Just add it to your skills like any other. And don't reply back with "it doesn't work." You'll have to describe exactly what is happening.

Re: PRIEST_WAVE_ARMOR?

Posted: Thu Dec 09, 2010 10:02 pm
by deathdealer1252
Already added to my skills and set the cooldown modifier to 20 seconds. I am sitting here watching, it will cast before it goes into combat which is fine, but during combat, once the cooldown is complete, it does not recast right away, if at all. Most of the time, it will wait until the mob is dead, before casting it again, so my question is how I can have it cast every 20 seconds, no matter what.

Re: PRIEST_WAVE_ARMOR?

Posted: Thu Dec 09, 2010 10:38 pm
by Administrator
Can you provide a copy of the skills part of your profile? My best guess is that the priority is too low and it's always too busy using other skills.

Re: PRIEST_WAVE_ARMOR?

Posted: Thu Dec 09, 2010 10:43 pm
by deathdealer1252

Code: Select all

<skill name="PRIEST_CHAIN_OF_LIGHT"     modifier="" hotkey="VK_1" priority="20" />
<skill name="PRIEST_BONE_CHILL"     modifier="" hotkey="VK_2" priority="30" />
<skill name="PRIEST_RISING_TIDE"     modifier="" hotkey="VK_3" priority="40" />
<skill name="PRIEST_WAVE_ARMOR"     modifier="" hotkey="VK_4" priority="50" cooldown="20" />
<skill name="PRIEST_REGENERATE"     modifier="" hotkey="VK_5" priority="60" />
<skill name="PRIEST_URGENT_HEAL"     modifier="" hotkey="VK_6" priority="70" hpper="80" />
<skill name="PRIEST_HOLY_AURA"     modifier="" hotkey="VK_7" priority="80" hpper="45" />
<skill name="PRIEST_SOUL_SOURCE"     modifier="" hotkey="VK_8" priority="90" />
<skill name="PRIEST_GRACE_OF_LIFE"     modifier="" hotkey="VK_9" priority="100" rebuffcut="10" />
<skill name="PRIEST_CLEANSE"     modifier="" hotkey="VK_F1" priority="120" />
<skill name="PRIEST_AMPLIFIED_ATTACK"     modifier="" hotkey="VK_F2" priority="130" rebuffcut="10" />
<skill name="PRIEST_MAGIC_BARRIER"     modifier="" hotkey="VK_F3" priority="140" rebuffcut="10" />
<skill name="PRIEST_BLESSED_SPRING_WATER"     modifier="" hotkey="VK_F4" priority="150" rebuffcut="10" />
<skill name="PRIEST_HEAL"     modifier="" hotkey="VK_F5" priority="160" />
<skill name="KNIGHT_ENHANCED_ARMOR"     modifier="" hotkey="VK_F7" priority="170" rebuffcut="10" cooldown="300" />
So the higher the priority, the more likely it will use that skill?

Re: PRIEST_WAVE_ARMOR?

Posted: Fri Dec 10, 2010 1:05 am
by Administrator
deathdealer1252 wrote: So the higher the priority, the more likely it will use that skill?
That's the idea. You should put skills like that slightly under your heal priorities. You've really got a lot of skills listed there, so it is currently low down on the list to even be checked if it should be cast or not.

Re: PRIEST_WAVE_ARMOR?

Posted: Fri Dec 10, 2010 1:10 am
by deathdealer1252
I turned it up to 200, seem to be little better, any other suggestions, so it is always casting every 20 seconds.

Re: PRIEST_WAVE_ARMOR?

Posted: Fri Dec 10, 2010 1:21 am
by Administrator
Try reducing the number of skills you have in your profile. At least just to test if it's because it's getting blocked by something else (for whatever reason).

Re: PRIEST_WAVE_ARMOR?

Posted: Fri Dec 10, 2010 1:28 pm
by deathdealer1252
Going to give that a try today, see if it improves at all, thanks for the suggestion!

Re: PRIEST_WAVE_ARMOR?

Posted: Sat Dec 11, 2010 11:14 am
by deathdealer1252
<!-- BUFFS -->
<skill name="PRIEST_GRACE_OF_LIFE" modifier="" hotkey="VK_9" priority="1" rebuffcut="10" />
<skill name="PRIEST_AMPLIFIED_ATTACK" modifier="" hotkey="VK_F2" priority="2" rebuffcut="10" />
<skill name="PRIEST_MAGIC_BARRIER" modifier="" hotkey="VK_F3" priority="3" rebuffcut="10" />
<skill name="PRIEST_BLESSED_SPRING_WATER" modifier="" hotkey="VK_F4" priority="4" rebuffcut="10" />
<skill name="KNIGHT_ENHANCED_ARMOR" modifier="" hotkey="VK_F7" priority="5" rebuffcut="10" cooldown="300" />
<skill name="PRIEST_WAVE_ARMOR" modifier="" hotkey="VK_4" priority="15" cooldown="20" />

<!-- HEALS -->
<skill name="PRIEST_HEAL" modifier="" hotkey="VK_F5" priority="13" />
<skill name="PRIEST_CLEANSE" modifier="" hotkey="VK_F1" priority="14" />
<skill name="PRIEST_HOLY_AURA" modifier="" hotkey="VK_7" priority="11" hpper="45" />
<skill name="PRIEST_SOUL_SOURCE" modifier="" hotkey="VK_8" priority="12" />
<skill name="PRIEST_REGENERATE" modifier="" hotkey="VK_5" priority="6" hpper="99" />
<skill name="PRIEST_URGENT_HEAL" modifier="" hotkey="VK_6" priority="7" hpper="80" />

<!-- ATTACKS -->
<skill name="PRIEST_CHAIN_OF_LIGHT" modifier="" hotkey="VK_1" priority="8" />
<skill name="PRIEST_BONE_CHILL" modifier="" hotkey="VK_2" priority="9" />
<skill name="PRIEST_RISING_TIDE" modifier="" hotkey="VK_3" priority="10" />
With that priority setup, it cast Wave Armor a lot more than it did, but still not every 20 seconds (yes I understand it can not cast while it is casting another skill), but it did improve a lot.

Re: PRIEST_WAVE_ARMOR?

Posted: Sat Dec 11, 2010 3:06 pm
by jduartedj
on a related subject I also am getting a priority problem with my skills!

1t I had holy light strike set to 104 and it usually spammed the mob with it in battle, now I set it to 95 and 'stars of light' to 98 and it still spamms holy light strike whence it should go Starts(2sec cooldown), holy light strike, start, ... etc (I have fireball set to 99 priority but it seldomly casts it, usually at 1st strike and some other times but spamms holy light strike a lot more)

Re: PRIEST_WAVE_ARMOR?

Posted: Sat Dec 11, 2010 7:05 pm
by rock5
Just so you guys understand, the casting is not priority based. The skills are cast in order, from highest priority to lowest, then starts again. If it skips a skill, it is because it failed a requirement.

Re: PRIEST_WAVE_ARMOR?

Posted: Sun Dec 12, 2010 10:16 am
by jduartedj
Oh I see....

So what if I want to cast?:

Holy Light Strike
Star of Light
Star of Light
Star of Light
Holy Light Strike
Star of Light
Star of Light
Star of Light
(...)

Anyway isn't >100 priority suppose to cast only once by default? (in the beggining of combat)

Re: PRIEST_WAVE_ARMOR?

Posted: Sun Dec 12, 2010 11:28 am
by Administrator
jduartedj wrote: So what if I want to cast?:

Holy Light Strike
Star of Light
Star of Light
Star of Light
Holy Light Strike
Star of Light
Star of Light
Star of Light
(...)

Code: Select all

<onSkillCast>
if( arg1.Name == "HOLY_LIGHT_STRIKE" ) then
  player:cast("STARS_OF_LIGHT");
  player:cast("STARS_OF_LIGHT");
  player:cast("STARS_OF_LIGHT");
end
</onSkillCast>
Now, you still add HOLY_LIGHT_STRIKE and STARS_OF_LIGHT to your profile like normal, except that STARS_OF_LIGHT will have autouse="false" in it's description. This means the bot will not cast it automatically, but you are still able to use it in your onSkillCast event.
Anyway isn't >100 priority suppose to cast only once by default? (in the beggining of combat)
Nope. There's different options for that. 'pullonly' will use the skill once to initiate combat. 'maxuse' will allow you to set how many times a skill can be cast per fight (which is usually set to 1 when used).

Re: PRIEST_WAVE_ARMOR?

Posted: Sun Dec 12, 2010 5:37 pm
by jduartedj
Administrator wrote:
Anyway isn't >100 priority suppose to cast only once by default? (in the beggining of combat)
Nope. There's different options for that. 'pullonly' will use the skill once to initiate combat. 'maxuse' will allow you to set how many times a skill can be cast per fight (which is usually set to 1 when used).

AWWW... but there was a time in which if you used >100 priority it would only cast in to pull right? but not anymore i see...

Ok Will do. 1 last question if I post that code in onSkillCast the bot wont check for HP or MP at that time, right? only after the 3 Stars of Light.

Re: PRIEST_WAVE_ARMOR?

Posted: Sun Dec 12, 2010 5:56 pm
by Administrator
jduartedj wrote: AWWW... but there was a time in which if you used >100 priority it would only cast in to pull right? but not anymore i see...
I don't recall that ever being the case.
Ok Will do. 1 last question if I post that code in onSkillCast the bot wont check for HP or MP at that time, right? only after the 3 Stars of Light.
That is true, but I think I have a solution for that. It may be a day or two before it is added to the bot (if ever).