PRIEST_WAVE_ARMOR?
Posted: Thu Dec 09, 2010 9:47 pm
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?
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" />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.deathdealer1252 wrote: So the higher the priority, the more likely it will use that skill?
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.<!-- 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" />
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>
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).Anyway isn't >100 priority suppose to cast only once by default? (in the beggining of combat)
Administrator wrote: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).Anyway isn't >100 priority suppose to cast only once by default? (in the beggining of combat)
I don't recall that ever being the case.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...
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).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.